https://github.com/keymanapp/lexical-models
Lexical language models for predictive text
https://github.com/keymanapp/lexical-models
language lexical-models
Last synced: about 1 year ago
JSON representation
Lexical language models for predictive text
- Host: GitHub
- URL: https://github.com/keymanapp/lexical-models
- Owner: keymanapp
- License: mit
- Created: 2019-01-26T14:10:41.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2025-05-22T19:21:07.000Z (about 1 year ago)
- Last Synced: 2025-06-10T02:08:45.170Z (about 1 year ago)
- Topics: language, lexical-models
- Language: Shell
- Size: 73.1 MB
- Stars: 15
- Watchers: 7
- Forks: 40
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Open Source Keyman lexical models
## File Layout
Models are grouped into two folders:
* `release` -
* `experimental` -
Within each of the folders, models are further grouped by the template `author`/`bcp47`.[`uniq`].
For example, the folder structure may be:
* release/example/en.custom/
The components must be lower case and are:
* *author*: a short unique identifier, such as `nrc` or `sil`.
* *bcp47*: the canonical BCP 47 tag for the model. For example *km* for Khmer, or *en-au* for Australian English.
* *uniq*: an optional component that can be provided when a given language has multiple models from a single author. For example, `en.custom` vs `en.wordlist`. We do recommend always using a uniquifer even if there are no current plans to produce more than one for a language.
## Building Models
### Preqrequisites
* [Node.js](https://nodejs.org/en/)
* [Git](https://git-scm.com/downloads) for your platform
* You will need to use **Git Bash** or equivalent to build.
### Build instructions
`build.sh` can be used to build all the models from the command line.
* Common `build.sh` parameters:
* `configure Install dependencies (including kmc compiler)`
* `build Creates compiled models`
* `clean Cleans intermediate and output files`
* `test Runs tests on models`
* `-s, --silent Quiet build`
* `-m, --model The specific model(s) to build, e.g. release or release/example/en.template`
* `-h, --help Full help for build.sh`