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
jahorton
1eed004296
change(web): package rename + patchup
2020-04-24 13:53:39 +07:00
jahorton
373196dded
change(web/engine): splits off the core/web/keyboard-processor module
2020-04-24 13:45:04 +07:00
Eddie Antonio Santos
f2a86fd418
change(common/lmlayer): throw when concatenating bad spans
2020-04-23 10:55:39 -06:00
Eddie Antonio Santos
8a25d646e0
refactor(common/lmlayer): extract fn: concatenateSpans()
2020-04-23 10:47:01 -06:00
Eddie Antonio Santos
e1a22eee16
refactor(common/lmlayer): more descriptive variable names
2020-04-23 10:42:55 -06:00
Eddie Antonio Santos
90be4674a3
change(common/lmlayer): first implementation of join word breaker
2020-04-23 10:39:31 -06:00
Eddie Antonio Santos
4ac2ea04d8
change(common/lmlayer): implement stub join word breaker decorator
2020-04-23 09:51:47 -06:00
Eddie Antonio Santos
7c8f337238
Merge pull request #3014 from keymanapp/change/common/lmlayer/remove-nfd-table
...
change(common/lmlayer): remove NFD table
2020-04-23 08:49:18 -06:00
Eddie Antonio Santos
a9069a1a3a
Merge branch 'master' into lmlayer-default-searchtermtokey
2020-04-22 08:24:21 -06:00
Eddie Antonio Santos
6ad370cd29
refactor(common/lmlayer): rename defaultWordform2Key -> defaultSearchTermToKey
2020-04-21 15:51:21 -06:00
Eddie Antonio Santos
5a60573895
docs(common/lmlayer): remove '@' that was making JSDoc upset
2020-04-21 15:50:20 -06:00
Eddie Antonio Santos
1b977aea59
Merge branch 'lmlayer-default-searchtermtokey' into change/common/lmlayer/remove-nfd-table
2020-04-21 15:19:04 -06:00
Eddie Antonio Santos
411a3a7447
docs(common/lmlayer): fix typos as suggested by @mcdurdin
...
Co-Authored-By: Marc Durdin <marc@durdin.net>
2020-04-21 15:17:35 -06:00
Eddie Antonio Santos
7982891f3d
change(common/lmlayer): remove NFD table from defaultWordform2Key
...
Removes the partial NFD table from the default searchTermToKey function. This table existed only to provide a canonical decomposition to remove diacritics on platforms that do not support `String.prototype.normalize()`; however, we have dropped support for these platforms, or will provide polyfills; therefore, we can remove this table that was inflating our bundle size.
2020-04-21 09:18:30 -06:00
jahorton
1fa9125a34
fix(common/lmlayer): revert 'fixes worker sourcemaps'
2020-04-17 09:33:42 +07:00
jahorton
03d29e7755
refactor(common/lmlayer): abstracts interface b/t inner and outer layers
2020-04-14 13:58:19 +07:00
jahorton
e58914112e
fix(common/lmlayer): fixes worker sourcemaps
2020-04-14 11:22:14 +07:00
Eddie Antonio Santos
391657bb5e
docs(common/lmlayer): update comments with code
...
Uncle Bob Martin is shaking.
2020-04-08 11:13:06 -06:00
Eddie Antonio Santos
e659d4df0d
fix(common/lmlayer): correct Unicode range in default key fn
2020-04-06 10:24:33 -06:00
jahorton
47595027e3
fix(common/lmlayer): fixes findPrefix for SMP Tries
2020-03-12 12:54:32 +07:00
jahorton
becf2039a4
fix(common): model specification for isRTL
2020-01-30 14:23:31 +07:00
jahorton
5cc282c660
fix(common): more 'code unit' -> 'code point' work
2020-01-15 12:21:11 +07:00
jahorton
716a598b49
fix(common): addresses PR review comments for trie model SMP
2020-01-15 11:35:34 +07:00
jahorton
d0ab35d5d9
fix(common): Fixes #2469
2020-01-08 11:53:53 +07:00
Joshua A. Horton
02e57d80d9
fix(common): 'default' wordbreaker context-final null token
2019-12-04 08:42:51 +07:00
jahorton
cd55c90a2f
change(common): makes LMLayer default wordBreaker the actual default
2019-12-03 10:43:28 +07:00
jahorton
a640fa76e2
fix(web): console obj validity check
2019-12-02 07:57:13 +07:00
jahorton
c2b011dc2f
change(lmlayer): Fixes a few of the 'draft' tweaks to logging from previous commits of this PR
2019-12-02 07:55:38 +07:00
jahorton
4778819203
feat(lmlayer): adds basic error reporting from worker
2019-12-02 07:55:37 +07:00
jahorton
ecddb73862
change(android): gets API 23 working again, but not 19 or 21 (yet)
2019-12-02 07:55:37 +07:00
Eddie Antonio Santos
fc633ae94d
Rename WorkerInternalModel -> LexicalModel.
2019-10-01 14:31:40 -06:00