Commit graph

175 commits

Author SHA1 Message Date
jahorton
becf2039a4 fix(common): model specification for isRTL 2020-01-30 14:23:31 +07:00
jahorton
5cc282c660 fix(common): more 'code unit' -> 'code point' work 2020-01-15 12:21:11 +07:00
jahorton
716a598b49 fix(common): addresses PR review comments for trie model SMP 2020-01-15 11:35:34 +07:00
jahorton
d0ab35d5d9 fix(common): Fixes #2469 2020-01-08 11:53:53 +07:00
Joshua A. Horton
02e57d80d9 fix(common): 'default' wordbreaker context-final null token 2019-12-04 08:42:51 +07:00
jahorton
cd55c90a2f change(common): makes LMLayer default wordBreaker the actual default 2019-12-03 10:43:28 +07:00
jahorton
a640fa76e2 fix(web): console obj validity check 2019-12-02 07:57:13 +07:00
jahorton
c2b011dc2f change(lmlayer): Fixes a few of the 'draft' tweaks to logging from previous commits of this PR 2019-12-02 07:55:38 +07:00
jahorton
4778819203 feat(lmlayer): adds basic error reporting from worker 2019-12-02 07:55:37 +07:00
jahorton
ecddb73862 change(android): gets API 23 working again, but not 19 or 21 (yet) 2019-12-02 07:55:37 +07:00
Eddie Antonio Santos
fc633ae94d
Rename WorkerInternalModel -> LexicalModel. 2019-10-01 14:31:40 -06:00
Eddie Antonio Santos
d75c04ca39
Remove worker-compiler-interfaces entirely. 2019-10-01 12:56:03 -06:00
Eddie Antonio Santos
81d8f7eb87
Completely move worker-compiler-interfaces.d.ts to lexical-model-types. 2019-10-01 12:48:19 -06:00
jahorton
a454b99971 Fixes double-space bug. 2019-08-07 09:38:55 +07:00
Eddie Antonio Santos
fd5173c882
Typo
Co-Authored-By: Marc Durdin <marc@durdin.net>
2019-07-31 09:40:09 -06:00
Eddie Antonio Santos
27e63e16b1
Be explicit about the type of punctuation defaults. 2019-07-30 10:20:36 -06:00
Eddie Antonio Santos
3017300f33
Factor out some interfaces required both by compiler and by worker to their own file. 2019-07-30 10:07:11 -06:00
Eddie Antonio Santos
fe0a99c6e4
Merge branch 'master' into lmlayer-specify-punctuation 2019-07-30 09:22:34 -06:00
Joshua Horton
d8cd238e36
Update common/predictive-text/worker/worker-interfaces.ts
Co-Authored-By: Eddie Antonio Santos <easantos@ualberta.ca>
2019-07-30 08:40:00 +07:00
Eddie Antonio Santos
d99337bf39
Add punctuation to trie model. 2019-07-29 16:06:43 -06:00
Eddie Antonio Santos
32a8dcb0c2
Convert determinePunctuationFromModel() to a static method. 2019-07-29 15:44:23 -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
5e2528a78c
Extract method: determinePunctuationFromModel(). 2019-07-29 15:29:36 -06:00
jahorton
8f374d24fc Missed including this edit. 2019-07-29 08:11:06 +07:00
jahorton
efbeafa78e PR review polish, round 1 2019-07-29 05:57:14 +07:00
jahorton
5776cd9138 Documents the methods of WorkerInternalModel 2019-07-26 16:03:12 +07:00
Eddie Antonio Santos
529f0d3adf
Move space adding to the model compositor. 2019-07-25 15:47:54 -06:00
Eddie Antonio Santos
87089a197d
Implement alternate open/close quote. 2019-07-25 15:11:40 -06:00
jahorton
1c8f2b3481 Adds comment for future extension work. 2019-07-23 11:00:06 +07:00
jahorton
d518d6d92c Addresses PR review elements. 2019-07-23 08:28:06 +07:00
jahorton
4ae9394f51 Fixes mid-word backspace issues. 2019-07-22 13:06:46 +07:00
jahorton
9137eca2e7 Null-context suggestion whitespace preservation 2019-07-22 11:53:25 +07:00
jahorton
989dc881fc Right, null-check that. 2019-07-22 10:22:49 +07:00
jahorton
b7f48e2666 Keep suggestion now always gets quoted 'displayAs' 2019-07-22 10:20:59 +07:00
jahorton
5c084c5c75 Patches out IE-incompatible whitespace regex. 2019-07-04 09:39:56 +07:00
jahorton
3a772852a2 Better whitespace detection in compositor. 2019-07-04 08:27:24 +07:00
jahorton
2e3e20559d Moves .isKeep prop to .tag == 'keep'. 2019-07-04 08:09:30 +07:00
jahorton
aec96341e9 Addresses most concerns of recent PR review. 2019-07-03 09:41:50 +07:00
jahorton
96225f1fdb KMW now uses LMLayer's new 'keep' suggestion 2019-07-01 15:34:13 +07:00
jahorton
8725428db5 LMLayer generation of 'keep' Suggestions 2019-07-01 15:24:32 +07:00
jahorton
db6f59f4c9 Detection of the 'keep' option. 2019-07-01 15:00:11 +07:00
jahorton
bb3a83b7c8 Fixes backspace handling and duplicated suggestions. 2019-07-01 13:33:24 +07:00
jahorton
7f64230824 Initial implementation of direct wordbreak API 2019-07-01 09:50:11 +07: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
784555b7db
Add a test for the default wordform to key function. 2019-06-04 11:08:41 -06:00
Eddie Antonio Santos
3f4aa0e9d9
Remove String.prototype.normalize() in favor of a lookup table :/ 2019-06-04 09:37:45 -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