Commit graph

4544 commits

Author SHA1 Message Date
jahorton
0a0cfd0e97 Adds integrated wordbreaking test case 2019-07-01 10:03:22 +07:00
jahorton
7f64230824 Initial implementation of direct wordbreak API 2019-07-01 09:50:11 +07:00
Randy Boring
61f96392a8 start of attempt to get Test target building
ambiguous reference in UserDefaults is killing me!
2019-06-14 16:48:49 -05:00
Eddie Antonio Santos
c938767da7
Fix in-browser test. 2019-06-12 15:26:52 -06:00
Eddie Antonio Santos
41375e4731
Extract sum weights from trie to model compiler. 2019-06-12 15:06:13 -06:00
Eddie Antonio Santos
a8dfaaa5aa
Merge pull request #1817 from keymanapp/lmlayer-string-normalize
[LMLayer] Partial workaround for lack of  String.prototype.normalize() support.
2019-06-07 08:53:19 -06:00
Eddie Antonio Santos
9123c5218e
Merge pull request #1805 from keymanapp/lmlayer-remove-obsolete-wordlist
[LMLayer] Remove obsoleted wordlist model.
2019-06-04 13:52:17 -06:00
Eddie Antonio Santos
40b30a86b0
Remove unused wordlist fixture. 2019-06-04 11:11:34 -06:00
Eddie Antonio Santos
784555b7db
Add a test for the default wordform to key function. 2019-06-04 11:08:41 -06:00
Eddie Antonio Santos
3f4aa0e9d9
Remove String.prototype.normalize() in favor of a lookup table :/ 2019-06-04 09:37:45 -06:00
Eddie Antonio Santos
85156d0b2a
Remove second this.timeout() call. 2019-06-03 09:26:28 -06:00
Eddie Antonio Santos
c1e88eb33c
Merge branch 'master' into lmlayer-remove-obsolete-wordlist 2019-06-03 09:22:48 -06:00
Eddie Antonio Santos
cc89dd0851
Merge branch 'master' into lmlayer-trie-weighting 2019-06-03 09:03:52 -06:00
Eddie Antonio Santos
6f028733ac
Fix comment, fix function name, and tweak a few things with sumWeights. 2019-06-03 08:59:39 -06:00
jahorton
f15e893353 Fixes test-config.js canary test. 2019-06-03 15:03:03 +07:00
jahorton
6fe7480f43 Merge branch 'master' into web-lmlayer-browserstack-fix 2019-06-03 14:22:13 +07:00
jahorton
68e9dc1f3c Fixing LMLayer BrowserStack CI test configs 2019-06-03 13:42:19 +07:00
Eddie Antonio Santos
29351d4e66
Merge pull request #1804 from keymanapp/lmlayer-default-key-function
[LMLayer] Make default key function consistent in compiler and worker.
2019-06-02 05:02:22 -06:00
Eddie Antonio Santos
7244000412
Test fat-fingering 'the'. 2019-05-31 16:24:26 -06:00
Eddie Antonio Santos
1b4fed7bf5
Test the model compositor. 2019-05-31 15:47:29 -06:00
Eddie Antonio Santos
29a53f9537
Convert counts to probabilities in the trie model and expose to model compositor. 2019-05-31 14:24:38 -06:00
Eddie Antonio Santos
ab76aad83c
Refactor helper to lexically scoped function declaration. 2019-05-31 13:28:18 -06:00
Eddie Antonio Santos
923fcfff4c
Fix unit test. 2019-05-31 13:19:39 -06:00
Eddie Antonio Santos
66a6f3e610
Fix unit test. 2019-05-31 08:42:53 -06:00
Eddie Antonio Santos
5b6a9d774b
Merge branch 'master' into lmlayer-remove-obsolete-wordlist 2019-05-31 08:26:44 -06:00
Joshua Horton
c1c5af3508
Merge pull request #1802 from keymanapp/web-fat-finger-integration
[Web] Fat-finger language modeling
2019-05-31 14:32:52 +07:00
jahorton
6a7abb8f75 Tweaks DummyModel empty return to []. 2019-05-31 14:31:29 +07:00
Eddie Antonio Santos
7d09c0097f
Change integration tests to use tries instead of the simple wordlist. 2019-05-28 11:24:07 -06:00
Eddie Antonio Santos
9a00ccd9c8
Remove from worker. 2019-05-28 11:06:28 -06:00
Eddie Antonio Santos
704faccd92
[LMLayer] Make default key function consistent in compiler and worker. 2019-05-28 09:56:06 -06:00
jahorton
a157c91c6b Documentation tweak. 2019-05-28 09:43:47 +07:00
jahorton
5199f8740a Tweaks model template probability distributions. 2019-05-27 15:54:32 +07:00
jahorton
c8aa355209 Integrates fat-finger alternates with LMLayer. 2019-05-27 15:26:43 +07:00
jahorton
8184ce3d9b Creates new ModelCompositor class in the LMLayer. 2019-05-27 14:52:44 +07:00
Joshua Horton
e45882211d
Merge pull request #1800 from keymanapp/lmlayer-squash-duplicate-loads
[LMLayer, Android] Adds workaround for Android duplicate load msg bug.
2019-05-27 08:14:17 +07:00
jahorton
bce907301d Adds workaround for Android duplicate load msg bug. 2019-05-24 11:07:47 +07:00
Eddie Antonio Santos
191ebe3adc
Have the prefix replaced by the suggestion from the Trie model. 2019-05-23 15:34:24 -06:00
Eddie Antonio Santos
f1fca2e948
Test that the typed word gets replaced. 2019-05-23 15:29:13 -06:00
Eddie Antonio Santos
805c8b3fe9
Deselect suggestions when one is selected. 2019-05-23 12:11:41 -06:00
Eddie Antonio Santos
6395ff5ce0
Merge branch 'master' into lmlayer-search-key-param 2019-05-22 23:12:33 -06:00
Eddie Antonio Santos
5237a1817e
Use const enum for word break property. 2019-05-22 16:25:06 -06:00
Eddie Antonio Santos
969ceafbd5
Revert: change default word breaker to placeholder again. 2019-05-22 11:50:48 -06:00
Eddie Antonio Santos
f205f868c4
Use array instead of object in big table. 2019-05-22 11:48:16 -06:00
Eddie Antonio Santos
dc2282dc60
Use the default word breaker consistently. 2019-05-22 11:20:52 -06:00
Eddie Antonio Santos
42ff692e00
Remove it.only... 2019-05-22 08:42:45 -06:00
Eddie Antonio Santos
c4947cfce6
Add searchTermToKey() function to TrieModelOptions. 2019-05-21 15:58:56 -06:00
Eddie Antonio Santos
a2d5c09575
Convolute test to see if the key function actually works. 2019-05-21 15:58:29 -06:00
Eddie Antonio Santos
4865c51951
Fix off-by-one error.
Both `left` and `right` must be valid indices into the
WORD_BOUNDARY_PROPERTY array.
2019-05-21 12:34:43 -06:00
Eddie Antonio Santos
d46f5e1de1
Remove generator function* and work exclusively with arrays instead. 2019-05-21 10:26:33 -06:00
Eddie Antonio Santos
dafa1f6ff3
Convert findBoundaries() from generator to array returning function. 2019-05-21 09:48:42 -06:00