Commit graph

132 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
c4947cfce6
Add searchTermToKey() function to TrieModelOptions. 2019-05-21 15:58:56 -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
Eddie Antonio Santos
ca18b3c990
Remove extendedPictographic and support for WB3c. 2019-05-21 09:26:05 -06:00
Eddie Antonio Santos
4a2d965845
Place data into its own namespace. 2019-05-21 09:18:15 -06:00
Eddie Antonio Santos
b5443e5741
Export a function called 'default'. 2019-05-20 04:06:24 -06:00
Eddie Antonio Santos
d2d017ce53
Implement fixes from upstream. 2019-05-18 17:53:34 -06:00
Eddie Antonio Santos
bd7a2a52f4
Remove debugger and console.assert() lines... 2019-05-17 17:26:47 -06:00
Eddie Antonio Santos
8eede859c0
Split the data from the implementation. 2019-05-17 17:08:12 -06:00
Eddie Antonio Santos
ce179c772c
First version of the default word breaker. 2019-05-17 16:47:59 -06:00
jahorton
efb0350bac Adds support for rotating suggestions in KMW. 2019-05-14 15:00:48 +07:00
Eddie Antonio Santos
2356608b72
Change name to 'placeholder' to match lexical-models. 2019-05-03 08:05:30 -06:00
Eddie Antonio Santos
bc91ee9ec4
Use word breaking function in WordListModel. 2019-05-02 14:53:50 -06:00
Eddie Antonio Santos
dab2d0c2eb
Refactor: move placeholder word breaker to word_breakers directory/namespace. 2019-05-02 14:47:27 -06:00
Eddie Antonio Santos
89ad857210
Have TrieModel use a word-breaker internally. 2019-05-02 14:42:00 -06:00
Eddie Antonio Santos
a4db640621
Add word breaker as a parameter to TrieModel. 2019-05-02 14:33:28 -06:00
Eddie Antonio Santos
d2dd697706
Implement ASCII word breaker. 2019-05-02 13:50:47 -06:00
Eddie Antonio Santos
b2282c0349
Add new interfaces for word breaking. 2019-05-02 13:17:42 -06:00
Eddie Antonio Santos
617d657d69
Remove previous versions of the word breaker. 2019-05-02 12:57:04 -06:00
Eddie Antonio Santos
e3d98dddd3
Merge pull request #1748 from keymanapp/lmlayer-trie
[LMLayer] Trie-backed word list model
2019-04-29 21:32:01 -06:00