Skip to content

feat(bmj): add Kaingang (kgp) lexical model - #361

Merged
jahorton merged 1 commit into
keymanapp:masterfrom
Brunomaia877:kaingang-model
Nov 30, 2026
Merged

jahorton merged 1 commit into
keymanapp:masterfrom
Brunomaia877:kaingang-model

Conversation

@Brunomaia877

Copy link
Copy Markdown
Contributor

New wordlist lexical model bmj.kgp.kaingang for Kaingang (kgp). It is for the Kaingang keyboard in keymanapp/keyboards#4219.

This model was split out of #358 at @jahorton's request, so that each model has its own PR. The files are the same as reviewed and approved there.

  • 957 words with frequencies.
  • Source: the official Kaingang translation of the 1988 Constitution, ILO 169 and the SDGs, plus the Portuguese–Kaingang legal glossary, from the AGU programme "Língua Indígena Viva no Direito".
  • Normalization: Greek ῖ → ĩ and ᾿ / ’ → ' were normalized.
  • Portuguese filter: Portuguese words were removed using letters not used in Kaingang and a Brazilian Portuguese frequency list.
  • Word breaker: the default breaker, with the apostrophe (U+0027, U+2019) mapped to ALetter. The glottal stop stays part of the word, including word-finally (pã'i), and URLs, abbreviations and numbers stay whole.
  • Search key: searchTermToKey lowercases and strips diacritics (U+0300–U+036F after NFKD) and apostrophes, so typing pai suggests pã'i. languageUsesCasing: true.

Official acts are not protected by copyright in Brazil (Law 9,610/98, art. 8); the sources are listed in the README. Tested with KeymanWeb 18.0.255 together with the keyboard on simulated iPhone 13 and Pixel 7.

Modelo de palavras para o teclado Kaingang.

Wordlist lexical model for the Kaingang keyboard (keymanapp/keyboards#4219),
split out of keymanapp#358 so that each model has its own PR. The files are the same
as reviewed there, including the default word breaker with the apostrophe
mapped to ALetter and the \u0300-\u036f range in searchTermToKey.
Brunomaia877 added a commit to Brunomaia877/lexical-models that referenced this pull request Nov 23, 2026
Per review, each model goes in its own PR. bmj.kgp.kaingang is now in keymanapp#361
with the same files; this PR keeps only bmj.tca.ticuna.
@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.

@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.

@jahorton
jahorton merged commit bb0a399 into keymanapp:master Nov 30, 2026
2 of 3 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.

3 participants