Commit graph

153 commits

Author SHA1 Message Date
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
a5974013ac
Merge branch 'master' into lmlayer-unicode-default-word-boundary 2019-05-21 09:12:36 -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
6d8ce4f2bc
Treat flakiness in 'empty buffer' test. 2019-05-17 21:32:02 -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
75ef303422
Update english-1000 in integration test. 2019-04-29 20:46:53 -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
320ac0901d Implements a shutdown() function on LMLayer, killing the worker. 2019-03-04 09:01:34 +07:00
Joshua A. Horton
3c086a8ef6 Fixes LMLayer outer-layer init tests. 2019-03-04 08:28:17 +07:00
Joshua A. Horton
2bf999edee Patches up the integrated tests to work with the model loading change. 2019-02-28 15:52:24 +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
Joshua A. Horton
fb38399833 Adjusted models and their direct tests to be namespace-compatible. 2019-02-28 12:21:18 +07:00
Joshua Horton
62a85ef7b8
Merge pull request #1602 from keymanapp/web-lmlayer-compilation
[Web] Compilation with the LMLayer
2019-02-26 09:28:04 +07:00
Joshua A. Horton
72d75ab425 Disables LMLayer's Safari CI checks 2019-02-26 07:59:29 +07:00
Joshua A. Horton
d761a74823 Actually includes the files this time... 2019-02-19 08:52:31 +07:00
Eddie Antonio Santos
82ba375fb5
Enable word list model in the top-level API. 2019-01-18 14:23:16 -07:00
Eddie Antonio Santos
a042a18858
Test instantiation and usage of word list model. 2019-01-18 14:03:33 -07:00
Eddie Antonio Santos
43371da774
Test predicting after a word. 2019-01-18 13:34:51 -07:00
Eddie Antonio Santos
7e8dcab305
Test for predicting in an empty buffer. 2019-01-18 13:23:29 -07:00
Eddie Antonio Santos
2c8237c379
Implement simple prefix search for a single word. 2019-01-18 13:00:15 -07:00
Eddie Antonio Santos
bc3b222585
Test prediction within a word. 2019-01-17 16:01:43 -07:00
Eddie Antonio Santos
4abbbc41a5
Suggest prefix via exhaustive search over word list. 2019-01-17 14:42:59 -07:00
Eddie Antonio Santos
198b6a1e3e
Test prefix queries. 2019-01-17 13:43:22 -07:00
Eddie Antonio Santos
ab9cbdc10e
Add English word list. 2019-01-17 13:39:39 -07:00
Eddie Antonio Santos
d6b2b96621
Create stub for word list model. 2019-01-17 11:09:06 -07:00
Eddie Antonio Santos
c479d49adb
No longer allow model to be specified as source code. 2019-01-16 15:14:53 -07:00
Eddie Antonio Santos
8e336fe846
Return early when rejecting a reused token. 2019-01-16 15:06:19 -07:00
Eddie Antonio Santos
6106d11c07
Test token reuse does not overwrite previous token's promise callbacks. 2019-01-16 15:04:04 -07:00
Eddie Antonio Santos
c9ff3fe0c3
Test that reusing a token should reject the promise. 2019-01-16 14:06:25 -07:00
Eddie Antonio Santos
375cce7cab require() fixture in headless unit tests. 2019-01-15 09:53:42 -07:00