Commit graph

21 commits

Author SHA1 Message Date
Eddie Antonio Santos
a9069a1a3a
Merge branch 'master' into lmlayer-default-searchtermtokey 2020-04-22 08:24:21 -06:00
Eddie Antonio Santos
04d72bbf50
test(common/lmlayer): expect word breaker to be specified 2020-04-21 14:52:58 -06:00
Eddie Antonio Santos
ef8d7c4171
test(developer/compiler): trie model should include searchTermToKey source 2020-04-08 12:48:57 -06:00
Eddie Antonio Santos
5a7655b9c6
test(developer/compiler): more specific assertions 2020-04-08 12:04:31 -06:00
Eddie Antonio Santos
e3067ded2f
test(developer/compiler): test that key function is USED 2020-04-08 12:01:20 -06:00
Eddie Antonio Santos
f43a8ece1f
test(developer/compiler): createTrieDataStructure() must take fn 2020-04-08 11:42:33 -06:00
Marc Durdin
a8332ce0a0 test: also test for REPLACEMENT CHARACTER 2019-12-09 18:48:36 +00:00
Marc Durdin
39d3452f18 chore: update comment 2019-12-09 15:21:28 +00:00
Marc Durdin
45c0ea105e fix(developer): kmlmc generates invalid json with smp 2019-12-09 13:37:51 +00:00
Marc Durdin
89c1477c89 [Developer] Refactor index.ts and cleanup package.json 2019-09-02 10:52:00 +10:00
Eddie Antonio Santos
1514af710a
Prefer 'wordBreaker' over 'wordBreaking'. 2019-08-29 12:27:47 -06:00
Eddie Antonio Santos
1bb59b3670
Test that it compiles 'wordBreaker' instead. 2019-08-29 11:58:06 -06:00
Eddie Antonio Santos
7100879dc2
Support the word breaking API in the compiler. 2019-08-28 14:38:59 -06:00
Eddie Antonio Santos
ae6cbabc9a
Test that a custom wordbreaking function can be added. 2019-08-28 14:26:47 -06:00
Eddie Antonio Santos
ddef37f7e6
Test a UTF-16LE file compiles properly. 2019-08-27 10:26:21 -06:00
Eddie Antonio Santos
8b4bb6dec5
Make fixture path relative to model.ts. 2019-08-22 09:44:54 -06:00
Eddie Antonio Santos
f826e02b24
Compile code with a dummy LMLayerWorker and models namespace; enhance assertions. 2019-08-21 14:51:00 -06:00
Eddie Antonio Santos
ea0efe48bd
Create test helper to find fixtures. 2019-08-21 11:27:59 -06:00
Eddie Antonio Santos
c80a44e9c5
Remove forgotten console.log(). 2019-07-13 11:07:31 -06:00
Eddie Antonio Santos
c6fbdfa153
Remove Object.values() in favour of Object.keys(). 2019-07-13 11:04:55 -06:00
Eddie Antonio Santos
f7a14943a9
Add a simple assertion for testing the trie compiler. 2019-07-04 09:42:53 -06:00