Eddie Antonio Santos
d202c478ec
Update dependencies based on npm audit.
2019-03-26 11:07:29 -06:00
Joshua A. Horton
e0682a0b3b
Adds ID for tracking to Transcriptions.
2019-03-14 12:47:38 +07:00
Joshua Horton
8987e450da
Merge pull request #1639 from keymanapp/web-model-manager
...
[Web] The ModelManager
2019-03-12 07:18:09 +07:00
Joshua Horton
e7321a27d9
Merge pull request #1651 from keymanapp/lmlayer-wordbreak-spec
...
[LMLayer] Wordbreaker specification
2019-03-12 07:17:34 +07:00
Eddie Antonio Santos
8279598717
Merge pull request #1655 from keymanapp/web-lmlayer-document-fsm
...
Add a state diagram of the LMLayer worker
2019-03-06 23:07:50 -07:00
Eddie Antonio Santos
d573c55080
Check in build.sh if Graphviz is installed.
2019-03-06 23:00:26 -07:00
Joshua A. Horton
3cb98db46d
Merge branch 'lmlayer-wordbreak-spec' of https://github.com/keymanapp/keyman into lmlayer-wordbreak-spec
2019-03-07 09:04:34 +07:00
Joshua A. Horton
66e9193d69
Merge branch 'web-lmlayer-model-registration' into lmlayer-wordbreak-spec
2019-03-07 09:04:00 +07:00
Joshua A. Horton
a8d6e50b56
Addresses more PR review concerns, renames activateModel -> loadModel.
2019-03-07 08:46:22 +07:00
Eddie Antonio Santos
c53f493b9c
Add a state diagram of the LMLayer worker.
2019-03-06 14:50:25 -07:00
Eddie Antonio Santos
ab22076350
Fix an inconsistent comment.
2019-03-06 13:04:18 -07:00
Joshua A. Horton
810edb2fde
Forgot the $ symbol in the if-condition.
2019-03-06 12:13:25 +07:00
Joshua A. Horton
9a1a21d767
Workaround for the mac sed issue, plus minor doc for one other point.
2019-03-06 11:53:49 +07:00
Joshua A. Horton
69f7319414
Right, KMW links to the actual LMLayer code, not the .d.ts file...
2019-03-06 11:35:52 +07:00
Joshua A. Horton
a873695c10
Updates and improves LMLayer definition files and their links.
2019-03-06 11:08:21 +07: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
263af9c721
Addresses many of Eddie's PR review comments.
2019-03-06 08:24:57 +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
320ac0901d
Implements a shutdown() function on LMLayer, killing the worker.
2019-03-04 09:01:34 +07:00
Joshua A. Horton
3c086a8ef6
Fixes LMLayer outer-layer init tests.
2019-03-04 08:28:17 +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 A. Horton
fb38399833
Adjusted models and their direct tests to be namespace-compatible.
2019-02-28 12:21:18 +07:00
Joshua A. Horton
b39dcd5588
Namespaces the existing model files in prep for move, to assist Git
2019-02-28 11:52:03 +07:00
Tim Eves
79060a36c6
Use more generic preprocessor macro 64bit
...
__x86_64__ is only for Intel __LP64__ and _LP64 are for any arch that has 64bit `long int` and pointers, and 32bit `int` same as Intel.
2019-02-26 11:40:44 +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
71fec33c2c
Establishes baseline co-compilation of KMW w/ the LMLayer
2019-02-19 10:06:27 +07:00
Joshua A. Horton
d761a74823
Actually includes the files this time...
2019-02-19 08:52:31 +07:00
Joshua A. Horton
ba769e67c3
Merge branch 'beta' into p5s2-merge
2019-02-04 21:02:15 +07:00
Eddie Antonio Santos
82ba375fb5
Enable word list model in the top-level API.
2019-01-18 14:23:16 -07:00
Eddie Antonio Santos
a042a18858
Test instantiation and usage of word list model.
2019-01-18 14:03:33 -07:00
Eddie Antonio Santos
a247bf8119
Implement prediction with multiple words.
2019-01-18 14:00:24 -07:00
Eddie Antonio Santos
43371da774
Test predicting after a word.
2019-01-18 13:34:51 -07:00
Eddie Antonio Santos
baf8bdb12b
Implement predicting for the empty buffer.
2019-01-18 13:23:49 -07:00
Eddie Antonio Santos
7e8dcab305
Test for predicting in an empty buffer.
2019-01-18 13:23:29 -07:00
Eddie Antonio Santos
89f9d8a2f1
Tidy up: define WordListModel in a IIFE so that it can have private constants.
2019-01-18 13:08:00 -07:00
Eddie Antonio Santos
2c8237c379
Implement simple prefix search for a single word.
2019-01-18 13:00:15 -07:00
Eddie Antonio Santos
bc3b222585
Test prediction within a word.
2019-01-17 16:01:43 -07:00
Eddie Antonio Santos
4abbbc41a5
Suggest prefix via exhaustive search over word list.
2019-01-17 14:42:59 -07:00
Eddie Antonio Santos
198b6a1e3e
Test prefix queries.
2019-01-17 13:43:22 -07:00
Eddie Antonio Santos
ab9cbdc10e
Add English word list.
2019-01-17 13:39:39 -07:00
Eddie Antonio Santos
d6b2b96621
Create stub for word list model.
2019-01-17 11:09:06 -07:00
Tim Eves
5429037179
Fix bug #1494 potential for buffer overrun
...
The get/put routines now require the buffer size remaining to be read/written to permit checking and the iterator will update this value whenever iterator comparisions are made. Other direct uses of get/put have been updated.
2019-01-17 17:12:42 +07:00
Eddie Antonio Santos
c479d49adb
No longer allow model to be specified as source code.
2019-01-16 15:14:53 -07:00