mirror of
https://github.com/keymanapp/keyman.git
synced 2026-09-21 15:17:40 +00:00
| .. | ||
| .gitignore | ||
| example.crk.wordlist_wahkohtowin.model.js | ||
| index.js | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
Predictive Text testing CLI
Provides a command line interface to try out predictive text models.
Install
NOTE: Requires Node >= 10.0
Install dependencies with npm:
npm install
Usage
Start it like so:
$ node .
You will be presented with a prompt. Type any phrase in the model's language. Press Tab to start choosing a prediction. Press the left and right arrow keys to go through suggestions. Press Enter to select the given suggestion. Press Esc.
Press Ctrl+D or Ctrl+C to quit.
> He
[ Hello ] [ Hey ] [ He he ]
ROADMAP
- The command line interface!
- -f filename to load a model from a file
LMPATHenvironment variable to load a named model by id: e.g,.node . example.crk.wordlistwill load the given model, providedLMPATHis defined.