Commit graph

78 commits

Author SHA1 Message Date
Marc Durdin
5fac633fb6 fix(common): build script help param
When working on a new build script, I tripped over the `-?` question
mark help parameter here, as it needs to be escaped. Opted to fix all
the instances in our scripts, although AFAICT there would not have been
current bugs arising from this, as there were no conflicting one
character options lower in the case list.
2021-05-28 09:50:40 +10:00
jahorton
25277eaa0e chore(common/core/web): Merge branch 'master' into feat/common/core/web/input-processor-unit-tests 2020-11-10 08:27:15 +07:00
jahorton
70d569a589 feat(common/models): LoadMessage refactor, model load from raw string (for tests) 2020-11-06 14:23:05 +07:00
jahorton
07f48bdc19 fix(common/models): adjusts affected unit tests 2020-10-06 14:19:10 +07:00
jahorton
fc84fd6880 chore(common/lmlayer): Merge branch 'master' into refactor/common/lmlayer/lmlayer-worker-abstraction 2020-04-17 11:04:38 +07:00
jahorton
b9b0ff90b1 fix(common/lmlayer): fixes integrated unit tests 2020-04-17 09:57:35 +07:00
jahorton
510b667251 fix(common/lmlayer): patches up browser-based unit tests 2020-04-15 09:29:21 +07:00
Eddie Antonio Santos
98a277089c
chore(common/lmlayer): do not run tests in IE11 in Windows 2020-04-09 08:29:04 -06:00
Eddie Antonio Santos
42bc0197fb
fix(common/lmlayer): arrow fn -> fn expr (IE11 compat) 2020-04-06 11:52:14 -06:00
Eddie Antonio Santos
aa1552fbe8
fix(common/lmlayer): use IE11-friendly syntax 2020-04-06 11:30:50 -06:00
Eddie Antonio Santos
77596b2c5c
test(common/lmlayer): reproduce issue reported in community forum
https://community.software.sil.org/t/search-term-to-key-in-lexical-model-not-working-both-ways-by-default/3133
2020-04-06 09:30:28 -06:00
Eddie Antonio Santos
fea6026f71
test(common/lmlayer): add regression test for searchTermToKey 2020-04-06 09:25:50 -06:00
jahorton
4d347c3b3e fix(common): Re-enables two unit tests now functional b/c worker polyfill 2019-12-10 09:24:22 +07:00
jahorton
1fbb093262 change(common): IE unit test bypass - return -> this.skip 2019-12-06 08:27:51 +07:00
Joshua A. Horton
7cab14b4c1 fix(common): lmlayer unit test failure in IE due to wordbreaker swap 2019-12-04 08:53:20 +07:00
Eddie Antonio Santos
13c5a4cdd5
Trie to appease IE... 2019-07-30 09:47:15 -06:00
Eddie Antonio Santos
fe0a99c6e4
Merge branch 'master' into lmlayer-specify-punctuation 2019-07-30 09:22:34 -06:00
Eddie Antonio Santos
ada6af46f6
Fix old dummy model test case. 2019-07-25 16:05:04 -06:00
Marc Durdin
e413b96a65 [LMLayer] Disable Firefox and Edge in unit tests 2019-07-26 07:05:57 +10:00
jahorton
7b1c03682a Bypasses IE unit test failure for wordbreaks. 2019-07-02 08:13:44 +07:00
jahorton
0a0cfd0e97 Adds integrated wordbreaking test case 2019-07-01 10:03:22 +07:00
Eddie Antonio Santos
c938767da7
Fix in-browser test. 2019-06-12 15:26:52 -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
a8dfaaa5aa
Merge pull request #1817 from keymanapp/lmlayer-string-normalize
[LMLayer] Partial workaround for lack of  String.prototype.normalize() support.
2019-06-07 08:53:19 -06:00
Eddie Antonio Santos
40b30a86b0
Remove unused wordlist fixture. 2019-06-04 11:11:34 -06:00
Eddie Antonio Santos
784555b7db
Add a test for the default wordform to key function. 2019-06-04 11:08:41 -06:00
Eddie Antonio Santos
85156d0b2a
Remove second this.timeout() call. 2019-06-03 09:26:28 -06:00
Eddie Antonio Santos
c1e88eb33c
Merge branch 'master' into lmlayer-remove-obsolete-wordlist 2019-06-03 09:22:48 -06:00
jahorton
f15e893353 Fixes test-config.js canary test. 2019-06-03 15:03:03 +07:00
jahorton
68e9dc1f3c Fixing LMLayer BrowserStack CI test configs 2019-06-03 13:42:19 +07:00
Eddie Antonio Santos
7d09c0097f
Change integration tests to use tries instead of the simple wordlist. 2019-05-28 11:24:07 -06:00
Eddie Antonio Santos
6d8ce4f2bc
Treat flakiness in 'empty buffer' test. 2019-05-17 21:32:02 -06:00
Eddie Antonio Santos
e3d98dddd3
Merge pull request #1748 from keymanapp/lmlayer-trie
[LMLayer] Trie-backed word list model
2019-04-29 21:32:01 -06:00
Eddie Antonio Santos
75ef303422
Update english-1000 in integration test. 2019-04-29 20:46:53 -06:00
Eddie Antonio Santos
05de75229c
[LMLayer] Always accept wordlist as array of [word, count] pairs. 2019-04-29 20:39:31 -06:00
Eddie Antonio Santos
9415975765
Start tests for new Trie model. 2019-04-26 15:18:49 -06:00
Joshua A. Horton
a8d6e50b56 Addresses more PR review concerns, renames activateModel -> loadModel. 2019-03-07 08:46:22 +07:00
Joshua A. Horton
3b1e715f4b Adjusts predictive model spec for 'configuring' based on 'capabilities' 2019-03-06 10:15:14 +07:00
Joshua A. Horton
b6cc287cb1 Renames the 'uninitialized' state to 'modelless', fixes (most?) docs. 2019-03-06 09:58:29 +07:00
Joshua A. Horton
473ed67b29 Adds a 'config' state to the LMLayer worker. 2019-03-06 09:35:46 +07:00
Joshua A. Horton
263af9c721 Addresses many of Eddie's PR review comments. 2019-03-06 08:24:57 +07:00
Joshua A. Horton
393dc5b270 LMLayer.initialize -> .activateModel, adds .deactivateModel. 2019-03-04 10:25:22 +07:00
Joshua A. Horton
320ac0901d Implements a shutdown() function on LMLayer, killing the worker. 2019-03-04 09:01:34 +07:00
Joshua A. Horton
2bf999edee Patches up the integrated tests to work with the model loading change. 2019-02-28 15:52:24 +07:00
Joshua A. Horton
2f5b48f625 Reinstates the basic headless prediction test. 2019-02-28 15:04:36 +07:00
Joshua A. Horton
6218b808dd Retools how the LMLayer adds models, fixes most headless cases. 2019-02-28 14:45:42 +07:00
Joshua Horton
62a85ef7b8
Merge pull request #1602 from keymanapp/web-lmlayer-compilation
[Web] Compilation with the LMLayer
2019-02-26 09:28:04 +07:00
Joshua A. Horton
72d75ab425 Disables LMLayer's Safari CI checks 2019-02-26 07:59:29 +07:00
Joshua A. Horton
d761a74823 Actually includes the files this time... 2019-02-19 08:52:31 +07:00
Eddie Antonio Santos
82ba375fb5
Enable word list model in the top-level API. 2019-01-18 14:23:16 -07:00