Commit graph

27 commits

Author SHA1 Message Date
Marc Durdin
5e1ceb1083 [Developer] Remove model version from metadata in packages (kmlmp) 2019-10-03 06:00:08 +10:00
Eddie Antonio Santos
fc633ae94d
Rename WorkerInternalModel -> LexicalModel. 2019-10-01 14:31:40 -06:00
Eddie Antonio Santos
7d0a7137d6
Make it work with the developer tools. 2019-10-01 12:54:57 -06:00
Eddie Antonio Santos
65a0e9d187
Remove class-based word breaker.
This method of specifying a word breaker was not fully implemented, and is undocumented.
2019-09-11 10:37:55 -06:00
jahorton
4f85e6e409 Removes final references to old wordBreaking prop 2019-09-06 08:24:21 +07:00
Marc Durdin
90fdff3b75 [Developer] Respond to review comments 2019-09-02 14:33:40 +10:00
Marc Durdin
89c1477c89 [Developer] Refactor index.ts and cleanup package.json 2019-09-02 10:52:00 +10:00
Marc Durdin
582af4de4f [Developer] Address review comments, additional refactoring 2019-09-02 09:30:20 +10:00
Marc Durdin
52ec17e0fc [Developer] Add kmlmi and kmlmp. Next: tests 2019-09-01 11:59:27 +10:00
Eddie Antonio Santos
43e1bba5a6
Add TODO to DELETE ME comments. 2019-08-29 13:24:28 -06:00
Eddie Antonio Santos
1514af710a
Prefer 'wordBreaker' over 'wordBreaking'. 2019-08-29 12:27:47 -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
a5cf6be5b0
Use parseWordListFromFilename() in createTrieDataStructure(). 2019-08-27 10:39:28 -06:00
Eddie Antonio Santos
9f62fc503f
Factor out detectEncoding() and spruce up documentation. 2019-08-27 10:22:32 -06:00
Eddie Antonio Santos
ef481a5841
Explicitly DO NOT support UTF-16BE. 2019-08-27 10:07:47 -06:00
Eddie Antonio Santos
144cca2b2d
Never mind... UTF-16BE is not supported by Node ¯\_(ツ)_/¯ 2019-08-27 10:02:15 -06:00
Eddie Antonio Santos
9fa24e2f6f
Implement parseWordListFromFilename() for UTF-16 files. 2019-08-27 09:52:55 -06:00
Eddie Antonio Santos
d84d6ac18d
Test reading from UTF-16LE wordlist. 2019-08-27 09:45:13 -06:00
Eddie Antonio Santos
85e5e27bdc
compileModel() loads word lists relative to model.ts file. 2019-08-22 10:30:00 -06:00
Eddie Antonio Santos
d58087dc95
Create and test compileModel() utility function. 2019-08-22 09:56:13 -06:00
Eddie Antonio Santos
fcae4c52a4
Factor out loadFromFilename(). 2019-08-22 09:23:51 -06:00
Eddie Antonio Santos
ffe1a71f0f
Add simple command line. 2019-08-20 09:44:53 -06:00
Eddie Antonio Santos
e9b2027520
Place command line in the path. 2019-08-20 09:43:31 -06:00
Eddie Antonio Santos
ca18b318c9
Export ModelSourceError when... the model source code is invalid! 2019-08-19 15:26:28 -06:00
Eddie Antonio Santos
678d853af3
Turn on noUnusedLocals 2019-08-19 15:26:28 -06:00
Eddie Antonio Santos
5e90e955bf
Enable noImplicitReturns. 2019-08-19 15:26:28 -06:00
Eddie Antonio Santos
602932b157
Move all source files to source/ (matching rest of Keyman conventions). 2019-08-19 15:26:27 -06:00