Commit graph

1439 commits

Author SHA1 Message Date
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
Eddie Antonio Santos
cf212f10fc
chore(common/lmlayer): change author from personal to work affiliation 2020-04-29 08:35:27 -06:00
jahorton
40b0b2005f fix(web/engine): fixes bad implementation of -S shorthand 2020-04-29 16:15:57 +07:00
jahorton
cad689dc3f chore(web/engine): Merge branch 'change/web/engine/keyboard-processor-package' into change/web/engine/input-processor-package 2020-04-29 16:08:55 +07: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
jahorton
6ce37e677e chore(common): Merge branch 'master' into feat/common/init-lerna 2020-04-29 14:43:03 +07:00
jahorton
e7742e462f change(web/engine): addresses most of PR review 2020-04-29 14:28:30 +07:00
jahorton
ac3661b2d4 chore(web/engine): Merge branch 'change/web/engine/keyboard-processor-package' into change/web/engine/input-processor-package 2020-04-29 13:11:43 +07:00
jahorton
6ec8c707d3 chore(web/engine): Merge branch 'feat/common/init-lerna' into change/web/engine/keyboard-processor-package 2020-04-29 13:03:03 +07:00
jahorton
7415f24925 change(web): language-modeling-layer -> lexical-model-layer 2020-04-29 12:56:31 +07:00
Eddie Antonio Santos
fa4a123582
test(common/lmlayer): 3+ joiners in a row 2020-04-28 16:18:16 -06:00
Eddie Antonio Santos
6178b61b3b
test(common/lmlayer): different but adjacent joiners 2020-04-28 16:05:37 -06:00
Eddie Antonio Santos
d56f867dc2
change(common/lmlayer): code cleanup 2020-04-28 16:02:21 -06:00
Eddie Antonio Santos
8753ee3955
fix(common/lmlayer): remove it.only accidentally left it 😬 2020-04-28 15:55:55 -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
289034dbd4
test(common/lmlayer): should not join non-contiguous spans 2020-04-28 15:40:09 -06:00
Eddie Antonio Santos
740e4225e2
fix(common/lmlayer): join multiple overlapping indices 2020-04-27 10:19:37 -06:00
Eddie Antonio Santos
b9a1925bee
test(common/lmlayer): add email test case 2020-04-27 10:10:07 -06:00
jahorton
67ff4a2036 chore(web/engine): Merge branch 'change/web/engine/keyboard-processor-package' into change/web/engine/input-processor-package 2020-04-27 14:01:38 +07:00
jahorton
8a31e0b29a chore(web/engine): Merge branch 'feat/common/init-lerna' into change/web/engine/keyboard-processor-package 2020-04-27 13:52:12 +07:00
jahorton
42ea45a97f fix(common/lmlayer): problem was with lm-layer npm run test 2020-04-27 13:21:03 +07:00
jahorton
a5d3e89029 change(common/lmlayer): tweaks script definition 2020-04-27 13:06:37 +07:00
jahorton
fe71729ec8 change(common): better lerna use, adds version script to base package 2020-04-27 12:05:17 +07:00
jahorton
e1b657689c chore(web/engine): fixes package name 2020-04-27 09:44:55 +07: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
8b336b0c15
test(common/lmlayer): no join case 2020-04-24 14:27:29 -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