Commit graph

4256 commits

Author SHA1 Message Date
Eddie Antonio Santos
411a3a7447
docs(common/lmlayer): fix typos as suggested by @mcdurdin
Co-Authored-By: Marc Durdin <marc@durdin.net>
2020-04-21 15:17:35 -06:00
Eddie Antonio Santos
7ea85a9214
refactor(common/lmlayer): cleanup word breaker compilation 2020-04-21 15:09:37 -06:00
Eddie Antonio Santos
d4a195f3f6
refactor(common/lmlayer): simplify compileWordBreaker 2020-04-21 15:06:05 -06:00
Eddie Antonio Santos
85924ec157
refactor(common/lmlayer): extract type: WordBreakerSpec 2020-04-21 15:03:05 -06:00
Eddie Antonio Santos
53416a5515
refactor(common/lmlayer): factor out compileWordBreaker() 2020-04-21 14:58:51 -06:00
Eddie Antonio Santos
c850419e22
change(common/lmlayer): always provide explicit wordBreaker 2020-04-21 14:54:42 -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
35c53917bb
change(common/lmlayer): remove partial NFD lookup from default searchTermToKey 2020-04-20 13:33:11 -06:00
Eddie Antonio Santos
587fed5bb7
test(common/lmlayer): add rudimentary tests for the default searchTermToKey fn 2020-04-20 13:30:12 -06:00
Eddie Antonio Santos
633fe38bce
change(developer/compiler): trie model always includes searchTermToKey source 2020-04-08 12:49:59 -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
e9fc83e06e
change(developer/compiler): explicitly provide default searchTermToKey fn 2020-04-08 11:52:42 -06:00
Eddie Antonio Santos
09eaf57ad7
change(developer/compiler): export defaultWordformToKey() 2020-04-08 11:48:21 -06:00
Eddie Antonio Santos
f43a8ece1f
test(developer/compiler): createTrieDataStructure() must take fn 2020-04-08 11:42:33 -06:00
Eddie Antonio Santos
52fb35ee3d
chore(common/lmlayer): copy default code to trie compiler 2020-04-08 11:20:09 -06:00
Marc Durdin
f15634a9ed chore: Merge branch 'master' into windows-use-chromium 2020-02-22 11:52:23 +11:00
Marc Durdin
22b1580e52 chore: remove node as a dependency 2019-12-10 10:33:52 +00:00
Marc Durdin
4432218947 chore: node engine version 2019-12-09 19:43:34 +00:00
Marc Durdin
a8332ce0a0 test: also test for REPLACEMENT CHARACTER 2019-12-09 18:48:36 +00:00
Marc Durdin
a82bb2c706 chore: node.js update to 12.13 2019-12-09 18:15:41 +00:00
Marc Durdin
02d62ff4d0 fix(developer): require nodejs 12
nodejs 12.0 includes well-formed JSON.stringify
which resolves the issues with unpaired
surrogates resulting in U+FFFD in output JSON
2019-12-09 18:09:34 +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
Eddie Antonio Santos
aec3a5f28e
Merge pull request #2392 from keymanapp/developer-strict-checks
[Developer] Enable stricter type checks
2019-11-30 16:14:49 -07:00
Eddie Antonio Santos
8b4769d893
change(developer): use a type assertion instead of if hack 2019-11-29 10:45:29 -07:00
Eddie Antonio Santos
a4c094cd21
fix(developer): better types in model-info-compiler.ts 2019-11-27 21:22:31 -07:00
Eddie Antonio Santos
eb2ee8d14f
change(developer): remove unused file: stub.ts 2019-11-27 21:21:51 -07:00
Eddie Antonio Santos
e73cc74d7f
fix(developer): copy element only when both are strings 2019-11-27 20:53:21 -07:00
Eddie Antonio Santos
e772c92bbf
change(developer): remove mistyped and unused import. 2019-11-27 20:46:42 -07:00
Eddie Antonio Santos
f75311ffc2
fix(developer): handle all nulls in kmp-compiler 2019-11-27 18:49:54 -07:00
Eddie Antonio Santos
6a0b278c76
change(developer): add types for JSZip 2.5.0 2019-11-27 18:25:56 -07:00
Eddie Antonio Santos
cb9ab43055
change(developer): add types for xml2js 2019-11-27 16:52:18 -07:00
Eddie Antonio Santos
1a80658332
fix(developer): address nulls in utils.ts 2019-11-27 16:44:38 -07:00
Eddie Antonio Santos
95954984f5
change(developer): enable strict null checks 2019-11-27 16:43:31 -07:00
Eddie Antonio Santos
f097d4b267
change(developer): enable stricter TypeScript compiler options 2019-11-27 16:12:54 -07:00
Eddie Antonio Santos
f2bfe522d4
fix(developer): check if author email exists 2019-11-27 16:01:38 -07:00
Marc Durdin
b061c7ca71 Addd browse4folder to tike 2019-10-20 19:44:59 +07:00
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