Commit graph

4544 commits

Author SHA1 Message Date
Eddie Antonio Santos
7ad76c43cb
Factor out applyTransformToActiveBuffer(). 2019-04-16 09:26:18 -06:00
Eddie Antonio Santos
f597138350
Apply the delete left to the buffer as well. 2019-04-16 09:22:47 -06:00
Eddie Antonio Santos
b29420f4b6
Install executable globally. 2019-04-15 15:26:47 -06:00
Eddie Antonio Santos
2809780b22
Explain the LMPATH environment variable. 2019-04-15 15:13:35 -06:00
Eddie Antonio Santos
a613d00116
Handle <Tab>, <Shift>+<Tab>. 2019-04-15 14:17:29 -06:00
Eddie Antonio Santos
ef7a1e513d
Start to implement insert suggestions. 2019-04-15 13:20:30 -06:00
Eddie Antonio Santos
824e8bb1dd
Handle backspace. 2019-04-15 13:03:53 -06:00
Eddie Antonio Santos
0e1e3c0fd1
Apply predictions to an actual buffer! 2019-04-15 12:52:36 -06:00
Eddie Antonio Santos
c7f4dc7187
Factor out usageError() function. 2019-04-15 11:48:17 -06:00
Eddie Antonio Santos
94e9727de9
Factor out determineModelFile(). 2019-04-15 11:40:03 -06:00
Eddie Antonio Santos
52cadb537c
Implement loading model from LMPATH environment variable. 2019-04-15 11:35:06 -06:00
Eddie Antonio Santos
b2b9881d60
Reorder utility functions. 2019-04-15 11:10:54 -06:00
Eddie Antonio Santos
6f0661d96d
Add command line parsing. 2019-04-15 11:07:24 -06:00
Eddie Antonio Santos
af52f72bb9
Remove hardcoded model. 2019-04-15 11:07:13 -06:00
Eddie Antonio Santos
909497870f
Factor out quiting logic into wantsQuit(). 2019-04-12 10:00:42 -06:00
Eddie Antonio Santos
1915a7635f
It sort of works now! 2019-04-12 09:48:28 -06:00
Eddie Antonio Santos
8174700656
Combine setupStdin() with keypressesFromStdin(). 2019-04-12 09:28:04 -06:00
Eddie Antonio Santos
74ca1ecd3b
Clean up keypressOf() function. 2019-04-12 09:25:34 -06:00
Eddie Antonio Santos
6ae6027b2a
Add a basic README. 2019-04-12 09:15:54 -06:00
Eddie Antonio Santos
8f7305c77e
Works as an event stream now! 2019-04-11 16:17:54 -06:00
Eddie Antonio Santos
abe0ba754a
Factor out setupStdin(). 2019-04-11 13:49:21 -06:00
Eddie Antonio Santos
8d4e96d651
Trying to figure out Node's readline module... 2019-04-03 19:48:40 -04:00
Eddie Antonio Santos
2913f6feaf
Check that we're being run from an interactive terminal. 2019-04-03 19:36:12 -04:00
Darcy Wong
c9cd7b0a5e
Merge pull request #1704 from keymanapp/web-apply-suggestion
[Web] Application of predictive Suggestions.
2019-04-03 08:06:58 +07:00
Eddie Antonio Santos
6257fe5c0b
Factor out render suggestions. 2019-04-01 16:01:28 -04:00
Eddie Antonio Santos
17ae94b6f6
Get current suggestion to be inverted. 2019-04-01 15:47:41 -04:00
Eddie Antonio Santos
5d2f60ea16
Get output ANSI codes working. 2019-04-01 15:36:10 -04:00
Eddie Antonio Santos
4b65ed22e8
What I expect the model to look like. 2019-04-01 14:48:14 -04:00
Eddie Antonio Santos
2747c4ab33
Only log messages in debug mode. 2019-04-01 14:46:55 -04:00
Eddie Antonio Santos
dff38ef7a2
Factor out log internal message. 2019-04-01 14:45:19 -04:00
Eddie Antonio Santos
9b90c5e06e
Insert hacky code to make current lexical-model stuff working. 2019-03-28 13:45:36 -06:00
Eddie Antonio Santos
f28a657f41
Things are more work-y... 2019-03-28 10:26:34 -06:00
Joshua A. Horton
577075d6ab Fixes #predict unit test. 2019-03-28 15:04:58 +07:00
Joshua A. Horton
66bf2856f5 For Suggestion application: OutputTarget.restoreTo 2019-03-28 10:10:10 +07:00
Eddie Antonio Santos
49478737fa
Move CLI to common/test/predictive-text/ 2019-03-26 16:09:54 -06:00
Eddie Antonio Santos
6179b603b1
Starting to make the CLI load the file in Node. 2019-03-26 14:34:42 -06:00
Eddie Antonio Santos
b000fa1bb2
Allow LMLayer to be imported as a Node module. 2019-03-26 13:10:35 -06:00
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