Commit graph

245 commits

Author SHA1 Message Date
jahorton
682b3a4937 refactor(common/core/web): fixes web/core, predictive-text 2020-06-17 10:32:36 +07:00
Eddie Antonio Santos
51812f50b0
chore(common): Merge branch 'master' into change/common/lmlayer/move-joiner-to-compiler 2020-05-25 08:38:27 -06:00
Eddie Antonio Santos
cd9a588a3a
fix(common/models): include models-templates in the compilation unit 2020-05-20 14:25:12 -06:00
Eddie Antonio Santos
1bdf9ee800
Merge branch 'master' into common/lmlayer/refactor-extra-package-lm-models 2020-05-20 09:32:17 -06:00
Marc Durdin
2ff7009e9e
Merge branch 'master' into change/common/lmlayer/move-joiner-to-compiler 2020-05-20 13:18:31 +10:00
Eddie Antonio Santos
c9cf605833
fix(common/lmlayer): remove unused reference for placeholder word breaker 2020-05-19 15:10:41 -06:00
Eddie Antonio Santos
a4dae62817
refactor(common/lmlayer): move default word breaker to models-wordbreakers package 2020-05-19 15:07:06 -06:00
Eddie Antonio Santos
0baf04ae06
refactor(common/lmlayer): move placeholder wordbreaker to models-wordbreakers 2020-05-19 15:04:29 -06:00
Eddie Antonio Santos
349adaf9f2
change(common/lmlayer): include word breakers from separate package 2020-05-19 14:58:31 -06:00
Eddie Antonio Santos
1bd4f6e94d
fix(common/lmlayer): forgot to remove ascii-word-breaker 2020-05-19 14:48:21 -06:00
Eddie Antonio Santos
374f0dfd8e
Revert "refactor(common/lmlayer): move placeholder word breaker to @keymanapp/lexical-model-word-breakers"
This reverts commit 73b16ae33e.
2020-05-19 14:34:11 -06:00
Eddie Antonio Santos
6fc39df5d0
Revert "refactor(common/lmlayer): move default word-breaker to @keymanapp/lexical-model-word-breakers"
This reverts commit 1f4de1ba93.
2020-05-19 14:32:19 -06:00
Eddie Antonio Santos
430ba9d561
Revert "refactor(common/lmlayer): move ASCII word breaker to new package"
This reverts commit b4efd9a6a1.
2020-05-19 14:23:06 -06:00
Eddie Antonio Santos
73b16ae33e
refactor(common/lmlayer): move placeholder word breaker to @keymanapp/lexical-model-word-breakers 2020-05-19 14:08:55 -06:00
Eddie Antonio Santos
1f4de1ba93
refactor(common/lmlayer): move default word-breaker to @keymanapp/lexical-model-word-breakers 2020-05-19 14:08:53 -06:00
Eddie Antonio Santos
b4efd9a6a1
refactor(common/lmlayer): move ASCII word breaker to new package 2020-05-19 14:08:53 -06:00
jahorton
17bc571dbb refactor(common/lmlayer): adjusts lmlayer to use web-utils 2020-05-15 12:06:40 +07:00
Eddie Antonio Santos
6bda0ddd96
refactor: move TrieModel to new package 2020-05-14 20:51:22 -06:00
Eddie Antonio Santos
8298f57587
change(common/lmlayer): include @keymanapp/lexical-model-models in worker compilation unit 2020-05-14 20:15:53 -06:00
Eddie Antonio Santos
e79edc58ac
change(common/lmlayer): move joiner implementation to developer/js 2020-05-02 09:32:15 -06:00
Eddie Antonio Santos
6b0a31c608
docs(common/lmlayer): describe the FSM/FST approach 2020-04-30 20:02:25 -06:00
Eddie Antonio Santos
429710ef74
refactor(common/lmlayer): extract function: isJoiner() 2020-04-30 20:02:18 -06:00
Eddie Antonio Santos
fb015fcf7a
change(common/lmlayer): replace last index instead of pop/push 2020-04-30 19:44:58 -06:00
Eddie Antonio Santos
43c517ecc7
style(common/lmlayer): tweak style of joiner 2020-04-30 19:42:44 -06:00
Eddie Antonio Santos
23b4945d32
refactor(common/lmlayer): rename state functions 2020-04-30 19:37:34 -06:00
Eddie Antonio Santos
2226eab322
refactor(common/lmlayer): implement fsm using callbacks 2020-04-30 19:33:18 -06:00
Eddie Antonio Santos
7aa8f2e5cf
refactor(common/lmlayer): factor out state code to local functions 2020-04-30 19:30:43 -06:00
Eddie Antonio Santos
871f1813fb
change(common/lmlayer): remove temporary copy 2020-04-30 19:21:38 -06:00
Eddie Antonio Santos
ceca35cccb
refactor(common/lmlayer): extract function: appendToTopOfStack() 2020-04-30 19:20:47 -06:00
Eddie Antonio Santos
301870f7d7
change(common/lmlayer): removed unused local functions 2020-04-30 19:17:53 -06:00
Eddie Antonio Santos
b414133d15
change(common/lmlayer): rewrite joiner using FSM approach 2020-04-30 19:16:00 -06:00
jahorton
1b833a9529 chore(web/engine): Merge branch 'feat/common/init-lerna' into change/web/engine/keyboard-processor-package 2020-04-29 16:08:23 +07:00
Eddie Antonio Santos
d56f867dc2
change(common/lmlayer): code cleanup 2020-04-28 16:02:21 -06:00
Eddie Antonio Santos
acf7aab588
refactor(common/lmlayer): extract function: spansAreBackToBack 2020-04-28 15:55:01 -06:00
Eddie Antonio Santos
73591cb977
refactor(common/lmlayer): extract variables previous, next, current 2020-04-28 15:51:11 -06:00
Eddie Antonio Santos
169b2f2bce
change(common/lmlayer): remove unnecessary cleanup code 2020-04-28 15:46:54 -06:00
Eddie Antonio Santos
1300106a20
fix(common/lmlayer): do not crash when joining contiguous spans 2020-04-28 15:45:33 -06:00
Eddie Antonio Santos
740e4225e2
fix(common/lmlayer): join multiple overlapping indices 2020-04-27 10:19:37 -06:00
Eddie Antonio Santos
8731badde6
style(common/lmlayer): spruce up join word breaker 2020-04-24 15:11:14 -06:00
Eddie Antonio Santos
4be0caf776
refactor(common/lmlayer): rename originalResults -> originalSpans 2020-04-24 15:07:23 -06:00
Eddie Antonio Santos
ddbc3d2f4a
change(common/lmlayer): use limit instead of useless array as parameter 2020-04-24 14:59:48 -06:00
Eddie Antonio Santos
b64e1243ef
refactor(common/lmlayer): extract function: concatenateSpansFromRanges() 2020-04-24 14:59:21 -06:00
Eddie Antonio Santos
b34dec174a
refactor(common/lmlayer): extract function: fillInRanges() 2020-04-24 14:48:57 -06:00
Eddie Antonio Santos
7630660c57
change(common/lmlayer): createMessyJoinRanges creates clean join ranges now 2020-04-24 14:44:58 -06:00
Eddie Antonio Santos
3d7ad58f83
refactor(common/lmlayer): extract function: createMessyJoinRanges() 2020-04-24 14:40:32 -06:00
Eddie Antonio Santos
fc5e191fa8
refactor(common/lmlayer): extract functino mergeOverlappingRanges() 2020-04-24 14:35:38 -06:00
Eddie Antonio Santos
537efe76cf
change(common/lmlayer): compute full contiguous ranges 2020-04-24 14:28:22 -06:00
Eddie Antonio Santos
2936a4e1d3
refactor(common/lmlayer): rename a few variables 2020-04-24 14:10:02 -06:00
Eddie Antonio Santos
63b9dd08be
change(common/lmlayer): new algorithm for computing joins 2020-04-24 14:09:02 -06:00
Eddie Antonio Santos
b607ae81be
change(common/lmlayer): reimplement join algorithm 2020-04-24 11:35:04 -06:00