Commit graph

211 commits

Author SHA1 Message Date
Joshua Horton
7e0a9e1002
Merge pull request #2987 from keymanapp/refactor/common/lmlayer/headless-variant
refactor(common/lmlayer): starts a formal 'headless' mode
2020-04-21 09:17:20 +07:00
jahorton
08e1359ce1 docs(common/lmlayer): reverts documentation change 2020-04-17 11:23:54 +07:00
jahorton
375acffc74 chore(common/lmlayer): Merge branch 'refactor/common/lmlayer/headless-variant' into feat/common/lmlayer/headless-testing 2020-04-17 11:18:31 +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
250e82d87a refactor(common/lmlayer): reverts the parent/subclass bit, no longer needed 2020-04-17 09:52:48 +07:00
jahorton
38f89ef997 refactor(common/lmlayer): restores original constructor form, drops factories 2020-04-17 09:48:55 +07:00
jahorton
8281a63ff1 feat(common/lmlayer): headless Trie model integration test 2020-04-15 09:30:01 +07:00
jahorton
1e54ce5aa9 feat(common/lmlayer): functional headless dummy integration test 2020-04-15 09:30:01 +07:00
jahorton
510b667251 fix(common/lmlayer): patches up browser-based unit tests 2020-04-15 09:29:21 +07:00
jahorton
03d29e7755 refactor(common/lmlayer): abstracts interface b/t inner and outer layers 2020-04-14 13:58:19 +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
7561f04d40 fix(common): LMLayer test case fix 2020-01-15 12:28:05 +07: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
jahorton
cd55c90a2f change(common): makes LMLayer default wordBreaker the actual default 2019-12-03 10:43:28 +07:00
jahorton
c364fdbeec Adjusts old unit test accordingly. 2019-08-07 10:36:49 +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
eb12da683b
Test that the trie model exposes punctuation. 2019-07-29 16:04:41 -06:00
Eddie Antonio Santos
b20541ea8b
Allow for the partial specification of punctuation, with more robust defaults selector thing. 2019-07-29 15:40:08 -06:00
Eddie Antonio Santos
ada6af46f6
Fix old dummy model test case. 2019-07-25 16:05:04 -06:00
Eddie Antonio Santos
529f0d3adf
Move space adding to the model compositor. 2019-07-25 15:47:54 -06:00
Eddie Antonio Santos
096ecad140
Test that the proper space is appended. 2019-07-25 15:29:59 -06:00
Eddie Antonio Santos
87089a197d
Implement alternate open/close quote. 2019-07-25 15:11:40 -06:00
Marc Durdin
e413b96a65 [LMLayer] Disable Firefox and Edge in unit tests 2019-07-26 07:05:57 +10:00
Eddie Antonio Santos
d71cec5bf1
Write test to detect if the model compositor understands punctuation. 2019-07-25 13:00:35 -06:00
jahorton
aec96341e9 Addresses most concerns of recent PR review. 2019-07-03 09:41:50 +07: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
jahorton
7f64230824 Initial implementation of direct wordbreak API 2019-07-01 09:50:11 +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
9123c5218e
Merge pull request #1805 from keymanapp/lmlayer-remove-obsolete-wordlist
[LMLayer] Remove obsoleted wordlist model.
2019-06-04 13:52:17 -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
Eddie Antonio Santos
cc89dd0851
Merge branch 'master' into lmlayer-trie-weighting 2019-06-03 09:03:52 -06:00
jahorton
f15e893353 Fixes test-config.js canary test. 2019-06-03 15:03:03 +07:00
jahorton
6fe7480f43 Merge branch 'master' into web-lmlayer-browserstack-fix 2019-06-03 14:22:13 +07:00
jahorton
68e9dc1f3c Fixing LMLayer BrowserStack CI test configs 2019-06-03 13:42:19 +07:00
Eddie Antonio Santos
7244000412
Test fat-fingering 'the'. 2019-05-31 16:24:26 -06:00
Eddie Antonio Santos
1b4fed7bf5
Test the model compositor. 2019-05-31 15:47:29 -06:00