Commit graph

4372 commits

Author SHA1 Message Date
Eddie Antonio Santos
f7a14943a9
Add a simple assertion for testing the trie compiler. 2019-07-04 09:42:53 -06:00
Eddie Antonio Santos
b2c24e08bd
Enable testing with Chai's assert. 2019-07-04 09:16:57 -06:00
Eddie Antonio Santos
4ae5ae9b86
Add mocha-chai for TypeScript. 2019-07-04 09:13:42 -06:00
Eddie Antonio Santos
9eca54b8bd
Haha, nevermind, that might crash on an empty array :( 2019-06-13 09:19:51 -06:00
Eddie Antonio Santos
6270b110b4
Remove unnecessary optional argument to reduce. 2019-06-13 09:15:06 -06:00
Eddie Antonio Santos
33201b2e25
Remove over-specified types for lambdas. 2019-06-13 09:11:42 -06:00
Eddie Antonio Santos
6b51abf67b
Remove now unnecessary @ts-ignore. 2019-06-13 09:09:32 -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
c1e88eb33c
Merge branch 'master' into lmlayer-remove-obsolete-wordlist 2019-06-03 09:22:48 -06:00
Eddie Antonio Santos
08666cbbdf
Add a reminder TODO. 2019-05-28 11:42:43 -06:00
Eddie Antonio Santos
8e48768512
Remove compiler for old wordlist model; current trie model will handle it. 2019-05-28 11:32:18 -06:00
Eddie Antonio Santos
704faccd92
[LMLayer] Make default key function consistent in compiler and worker. 2019-05-28 09:56:06 -06:00
Marc Durdin
beea4b2582
Merge pull request #1798 from keymanapp/developer-lexical-model-compiler-languages-fix-1793
[developer] Lexical model compiler was not flattening languages arrays for .model_info file
2019-05-24 18:57:01 +10:00
Marc Durdin
176166f404 [Developer] Lexical model compiler should validate model ids found in packages while building 2019-05-24 14:10:49 +10:00
Marc Durdin
b8d732d3e9 [developer] Fixes #1793. Lexical model compiler was not flattening languages arrays for .model_info file 2019-05-24 13:15:31 +10:00
Eddie Antonio Santos
6395ff5ce0
Merge branch 'master' into lmlayer-search-key-param 2019-05-22 23:12:33 -06:00
Eddie Antonio Santos
dc2282dc60
Use the default word breaker consistently. 2019-05-22 11:20:52 -06:00
Eddie Antonio Santos
431442e58d
Use custom search term to key in building of trie. 2019-05-22 09:26:41 -06:00
Eddie Antonio Santos
f4dc7a8e81
Factor out generateLexicalModelCode(). 2019-05-22 09:13:45 -06:00
Eddie Antonio Santos
9003591c26
Add searchTermToKey() as an optional property. 2019-05-22 09:00:48 -06:00
Marc Durdin
f0326fba9e [Developer] Move lexical model compiler to Keyman repo 2019-05-08 12:32:46 +10:00
Marc Durdin
44582d370f [developer] Initial lexical model compiler files (not yet working) 2019-05-08 10:40:46 +10:00