Skip to content

feat(bmj): add Nheengatu (yrl) lexical model - #360

Merged
darcywong00 merged 6 commits into
keymanapp:masterfrom
Brunomaia877:nheengatu-model
Nov 26, 2026
Merged

darcywong00 merged 6 commits into
keymanapp:masterfrom
Brunomaia877:nheengatu-model

Conversation

@Brunomaia877

Copy link
Copy Markdown
Contributor

New wordlist lexical model bmj.yrl.nheengatu for Nheengatu (yrl). It is for the Nheengatu keyboard submitted in keymanapp/keyboards#4220.

  • 2,593 words with frequencies.
  • Source: the official translation of the 1988 Brazilian Constitution into Nheengatu (National Council of Justice and Supreme Federal Court, 2023), made by 15 bilingual Indigenous translators from the Upper Rio Negro and the Middle Tapajós.
  • Normalization: PDF typing substitutes were normalized (Greek ῖ and ī → ĩ, ē → ẽ, ū and ữ → ũ).
  • Portuguese filter: Portuguese words from the introductions were removed using letters not used in Nheengatu (o, ç, q…) and a Brazilian Portuguese frequency list. Nheengatu loanwords such as federau and braziu are kept.
  • Search key: searchTermToKey lowercases and strips diacritics, so typing paye suggests payẽ and purag suggests purãga. languageUsesCasing: true.

Official acts are not protected by copyright in Brazil (Law 9,610/98, art. 8); the source is listed in the README. The model compiles with no warnings and was tested with KeymanWeb 18.0.255 together with the keyboard on simulated iPhone 13 and Pixel 7. It has the same structure as bmj.tca.ticuna and bmj.kgp.kaingang (#358).

Modelo de palavras para o teclado Nheengatu.

@Brunomaia877

Copy link
Copy Markdown
Contributor Author

Ready for review

@keyman-server

Copy link
Copy Markdown

Thank you for your pull request. You'll see a "build failed" message until the Keyman team has reviewed the pull request and manually initiated the build process.

Every change committed to this branch will become part of this pull request. When you have finished submitting files and are ready for the Keyman team to review this pull request, please post a "Ready for review" comment.

Replaces the custom wordBreaker given via 'use:' with the default (UAX #29)
word breaker, mapping the apostrophe (U+0027, U+2019) to ALetter so the glottal
stays part of the word, including word-finally. searchTermToKey now writes the
combining-mark range as \u0300-\u036f escapes instead of literal characters.
@Brunomaia877

Copy link
Copy Markdown
Contributor Author

Ready for review

@jahorton jahorton left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@darcywong00
darcywong00 merged commit 1935a2e into keymanapp:master Nov 26, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants