Commit graph

145 commits

Author SHA1 Message Date
jahorton
7561f04d40 fix(common): LMLayer test case fix 2020-01-15 12:28:05 +07:00
jahorton
cd55c90a2f change(common): makes LMLayer default wordBreaker the actual default 2019-12-03 10:43:28 +07:00
jahorton
c364fdbeec Adjusts old unit test accordingly. 2019-08-07 10:36:49 +07:00
Eddie Antonio Santos
eb12da683b
Test that the trie model exposes punctuation. 2019-07-29 16:04:41 -06:00
Eddie Antonio Santos
b20541ea8b
Allow for the partial specification of punctuation, with more robust defaults selector thing. 2019-07-29 15:40:08 -06:00
Eddie Antonio Santos
529f0d3adf
Move space adding to the model compositor. 2019-07-25 15:47:54 -06:00
Eddie Antonio Santos
096ecad140
Test that the proper space is appended. 2019-07-25 15:29:59 -06:00
Eddie Antonio Santos
87089a197d
Implement alternate open/close quote. 2019-07-25 15:11:40 -06:00
Eddie Antonio Santos
d71cec5bf1
Write test to detect if the model compositor understands punctuation. 2019-07-25 13:00:35 -06:00
jahorton
aec96341e9 Addresses most concerns of recent PR review. 2019-07-03 09:41:50 +07:00
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
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
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
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
Eddie Antonio Santos
9a00ccd9c8
Remove from worker. 2019-05-28 11:06:28 -06:00
jahorton
8184ce3d9b Creates new ModelCompositor class in the LMLayer. 2019-05-27 14:52:44 +07:00
Eddie Antonio Santos
f1fca2e948
Test that the typed word gets replaced. 2019-05-23 15:29:13 -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
42ff692e00
Remove it.only... 2019-05-22 08:42:45 -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
b5443e5741
Export a function called 'default'. 2019-05-20 04:06:24 -06:00
Eddie Antonio Santos
4817ef6d6d
Make unit test slightly less weird. 2019-05-18 17:06:06 -06:00
Eddie Antonio Santos
fc8cd86617
Test for default Unicode word breaker. 2019-05-17 16:39:08 -06:00
Eddie Antonio Santos
64073fb02d
Clean up ASCII word breaker unit test. 2019-05-02 15:11:03 -06:00
Eddie Antonio Santos
d2dd697706
Implement ASCII word breaker. 2019-05-02 13:50:47 -06:00
Eddie Antonio Santos
ed9e95f9a7
Test the ASCII word breaker. 2019-05-02 13:32:14 -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
Eddie Antonio Santos
05de75229c
[LMLayer] Always accept wordlist as array of [word, count] pairs. 2019-04-29 20:39:31 -06:00
Eddie Antonio Santos
258d41943e
Test suggest after a single word. 2019-04-29 08:27:42 -06:00
Eddie Antonio Santos
58f429e344
Implement trie.firstN(). 2019-04-29 08:25:31 -06:00
Eddie Antonio Santos
4382bccd95
Test empty context/transform. 2019-04-29 08:13:08 -06:00
Eddie Antonio Santos
c8913a4b41
Implement test for non-empty context. 2019-04-29 08:09:41 -06:00
Eddie Antonio Santos
9415975765
Start tests for new Trie model. 2019-04-26 15:18:49 -06:00
Joshua A. Horton
a8d6e50b56 Addresses more PR review concerns, renames activateModel -> loadModel. 2019-03-07 08:46:22 +07:00
Eddie Antonio Santos
ab22076350
Fix an inconsistent comment. 2019-03-06 13:04:18 -07:00
Joshua A. Horton
3b1e715f4b Adjusts predictive model spec for 'configuring' based on 'capabilities' 2019-03-06 10:15:14 +07:00
Joshua A. Horton
b6cc287cb1 Renames the 'uninitialized' state to 'modelless', fixes (most?) docs. 2019-03-06 09:58:29 +07:00
Joshua A. Horton
473ed67b29 Adds a 'config' state to the LMLayer worker. 2019-03-06 09:35:46 +07:00
Joshua A. Horton
263af9c721 Addresses many of Eddie's PR review comments. 2019-03-06 08:24:57 +07:00
Joshua A. Horton
393dc5b270 LMLayer.initialize -> .activateModel, adds .deactivateModel. 2019-03-04 10:25:22 +07:00
Joshua A. Horton
3c086a8ef6 Fixes LMLayer outer-layer init tests. 2019-03-04 08:28:17 +07:00
Joshua A. Horton
2f5b48f625 Reinstates the basic headless prediction test. 2019-02-28 15:04:36 +07:00
Joshua A. Horton
6218b808dd Retools how the LMLayer adds models, fixes most headless cases. 2019-02-28 14:45:42 +07:00