Commit graph

115 commits

Author SHA1 Message Date
Eddie Antonio Santos
25c3618629
Make lexical-model-compiler README slightly more user-centric. 2019-10-05 14:50:39 -06:00
Marc Durdin
5da14fb040 [Developer] Remove extraneous version tag from test 2019-10-03 21:00:46 +10:00
Marc Durdin
bb49d4d375 Merge branch 'beta' into developer-remove-model-version-from-package-metadata 2019-10-03 09:47:37 +10:00
Marc Durdin
5e1ceb1083 [Developer] Remove model version from metadata in packages (kmlmp) 2019-10-03 06:00:08 +10:00
Eddie Antonio Santos
b5dcd025de
build.sh always installs deps, even when given -test. 2019-10-02 13:46:02 -06:00
Eddie Antonio Santos
377e018ceb
Fix other build.sh. 2019-10-02 09:31:49 -06:00
Eddie Antonio Santos
00ccc0080f
Add set -eu and failure messages in ./build.sh(s). 2019-10-02 08:45:44 -06:00
Eddie Antonio Santos
f2f511840e
Move npm link . to dependent build.sh scripts. 2019-10-01 14:55:58 -06: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
6206c79112
Fix npm publish tier. 2019-09-30 13:51:15 -06:00
Eddie Antonio Santos
09615db5cc
Create publish script and document. 2019-09-30 13:24:51 -06:00
Eddie Antonio Santos
a9428ff8d4
Document the cli tools in @keymanapp/lexical-model-compiler 2019-09-30 10:11:37 -06:00
Eddie Antonio Santos
d7558ad74d
Start to document how npm packaging will work. 2019-09-30 09:59:55 -06:00
Eddie Antonio Santos
6c12526afd
Factor out set_npm_version to shellHelperFunctions. 2019-09-30 09:34:41 -06:00
Marc Durdin
85e0ab703b [Developer] Address review comments and fix error in copydev.in with VERSION variable 2019-09-25 06:03:54 +10:00
Marc Durdin
18d2626604 [Developer] Set the package version when building kmlmx during Developer build. Fixes #2124. 2019-09-24 17:10:12 +10: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
c02309791c [Developer] Add script links for kmlmp and kmlmi to Developer installer 2019-09-02 10:27:17 +10:00
Marc Durdin
582af4de4f [Developer] Address review comments, additional refactoring 2019-09-02 09:30:20 +10:00
Marc Durdin
ff337f3464 [Developer] Add first test for kmp compiler 2019-09-02 08:44:54 +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
0d3fc7bbf6
Test compiling with an explicit word breaker property. 2019-08-29 12:36:23 -06: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
08637f2f16
Merge pull request #2009 from keymanapp/developer-add-wordbreaking-api
[Developer] Add Word Breaking API
2019-08-28 22:13:36 -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
0926a99420
Test that all valid example models compile correctly. 2019-08-28 10:20:00 -06:00
Eddie Antonio Santos
1c7d438f52
Rename all *.model.ts files following new convention. 2019-08-28 10:15:46 -06:00
Eddie Antonio Santos
a5cf6be5b0
Use parseWordListFromFilename() in createTrieDataStructure(). 2019-08-27 10:39:28 -06:00
Eddie Antonio Santos
2a20b6bbc7
Test that the actual word list gets parsed properly (UTF-16/UTF-8). 2019-08-27 10:29:52 -06:00
Eddie Antonio Santos
ddef37f7e6
Test a UTF-16LE file compiles properly. 2019-08-27 10:26:21 -06:00
Eddie Antonio Santos
9f62fc503f
Factor out detectEncoding() and spruce up documentation. 2019-08-27 10:22:32 -06:00
Eddie Antonio Santos
06c2996415
Implement 'detecting' UTF-8. 2019-08-27 10:12:27 -06:00
Eddie Antonio Santos
aa06ccda45
Test reading the wordlist from UTF-8. 2019-08-27 10:08:48 -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
3e030debd3
Test for reading in UTF-16BE. 2019-08-27 09:57:04 -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
f2ff8a95fa
Pass multiple arguments to makePathToFixture(). 2019-08-27 09:40:37 -06:00
Marc Durdin
3629853b5c Merge branch 'beta' into developer-integrate-compiler 2019-08-23 13:03:19 +10: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
8b4bb6dec5
Make fixture path relative to model.ts. 2019-08-22 09:44:54 -06:00