Skip to content

Forked from Keyman Developers to create a predictive text feature for the indigenous language Bribri keyboard, and to improve the predictive text on the Cabécar and Cook Islands Māori keyboards.

License

Notifications You must be signed in to change notification settings

annieetang/lexical-models

 
 

Repository files navigation

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
  • Git 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:
    • -t, -test Runs tests on models
    • -b, -build Creates compiled models
    • -c, -clean Cleans intermediate and output files
    • -no-npm Skip all npm steps
    • -s Quiet build
    • [target] The specific model(s) to build, e.g. release or release/example/en.template

About

Forked from Keyman Developers to create a predictive text feature for the indigenous language Bribri keyboard, and to improve the predictive text on the Cabécar and Cook Islands Māori keyboards.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 33.2%
  • HTML 30.9%
  • TypeScript 28.9%
  • Python 5.2%
  • Batchfile 1.2%
  • Makefile 0.6%