Commit graph

42 commits

Author SHA1 Message Date
jahorton
6d111783e3 fix(common/core/web): predictive context reset 2020-12-03 15:48:18 +07: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
beb19fdf84 feat(common/models): reversion in lm-layer 2020-10-08 15:15:55 +07:00
jahorton
907af8e8c3 feat(common/models): adds suggestion + reversion IDs 2020-10-06 14:30:59 +07:00
jahorton
2355db4c46 feat(common/models): 'revert' now uses model's punctuation 2020-10-06 14:14:23 +07:00
Joshua Horton
5d03399f23
chore(common/models): removes empty comments 2020-08-12 08:18:43 +07:00
Joshua Horton
daa15ea914
chore(common/models): Apply suggestions from code review
Co-authored-by: Eddie Antonio Santos <Eddie.Santos@nrc-cnrc.gc.ca>
2020-08-12 08:17:44 +07:00
jahorton
7298fe1d08 refactor(common/models): lm-layer state as discrim union 2020-08-11 16:15:39 +07:00
jahorton
9deda3b96f refactor(common/models): ModelCompositor as part of ready state 2020-08-11 16:05:03 +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
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
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
87089a197d
Implement alternate open/close quote. 2019-07-25 15:11:40 -06:00
jahorton
7f64230824 Initial implementation of direct wordbreak API 2019-07-01 09:50:11 +07:00
jahorton
8184ce3d9b Creates new ModelCompositor class in the LMLayer. 2019-05-27 14:52:44 +07:00
Eddie Antonio Santos
d2dd697706
Implement ASCII word breaker. 2019-05-02 13:50:47 -06:00
Eddie Antonio Santos
b2282c0349
Add new interfaces for word breaking. 2019-05-02 13:17:42 -06:00
Eddie Antonio Santos
617d657d69
Remove previous versions of the word breaker. 2019-05-02 12:57:04 -06:00
Joshua A. Horton
0f8c6b4db3 Merge branch 'web-lmlayer-model-registration' into lmlayer-wordbreak-spec 2019-03-06 10:21:37 +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
49bae3c774 Adds basic definitions for pending word-breaker implementation. 2019-03-05 16:16:42 +07:00
Joshua A. Horton
393dc5b270 LMLayer.initialize -> .activateModel, adds .deactivateModel. 2019-03-04 10:25:22 +07:00
Joshua A. Horton
6218b808dd Retools how the LMLayer adds models, fixes most headless cases. 2019-02-28 14:45:42 +07:00
Eddie Antonio Santos
c204f4b793
Implement token tracking in top-level API. 2019-01-14 13:36:57 -07:00
Eddie Antonio Santos
97a59ae8d0
Send back the token in the 'suggestions' message. 2019-01-14 13:17:14 -07:00
Eddie Antonio Santos
c1409c3e62
Update documentation/interfaces to be consistent with each other. 2019-01-11 15:28:34 -07:00
Eddie Antonio Santos
0e1cb0d55b
Rearrange different message type definitions. 2019-01-10 15:56:30 -07:00
Eddie Antonio Santos
d943bdd54e
Refactor: LMLayerWorker now implements the state pattern: uninitialized and ready states. 2019-01-10 15:34:07 -07:00
Eddie Antonio Santos
3bae3faf5e
Change interfaces to allow for the dummy model. 2019-01-10 14:11:31 -07:00
Eddie Antonio Santos
eb8aec564f
Import Transform, Context, and Suggestion types. Update predict() interface to match. 2019-01-08 14:51:08 -07:00
Eddie Antonio Santos
b2becde2ae
Add capabilities argument to WorkerInternalModel constructor. 2019-01-08 13:16:04 -07:00
Eddie Antonio Santos
f07c715d06
Embetter comments. 2019-01-08 13:03:14 -07:00
Eddie Antonio Santos
f1c6dca02d
Factor out worker interfaces and types into worker-interfaces.ts. 2019-01-08 12:54:26 -07:00