Skip to content

feat(bmj): add Kaiowá (kgk) lexical model - #359

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

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

Conversation

@Brunomaia877

Copy link
Copy Markdown
Contributor

New wordlist lexical model bmj.kgk.kaiowa for Kaiowá (Guarani Kaiowá, Pai Tavyterã; kgk). It is for the Kaiowá keyboard submitted in keymanapp/keyboards#4222.

  • 3,097 words with frequencies.
  • Source: the official Kaiowá translations of the 1988 Brazilian Constitution, ILO 169 and the SDGs, plus the Portuguese–Kaiowá legal glossary, from the programme "Língua Indígena Viva no Direito" (AGU, Ministry of Indigenous Peoples, Ministry of Justice, IDGlobal).
  • Normalization: PDF typing substitutes were normalized (’ ´ ʼ → ', ī ē ū → ĩ ẽ ũ).
  • Portuguese filter: Portuguese words mixed into the bilingual text were removed using letters not used in Kaiowá and a Brazilian Portuguese frequency list.
  • Word breaker: custom, so the apostrophe (glottal stop) stays part of the word (nhe'ẽ, mba'e, te'ýi).
  • Search key: searchTermToKey lowercases and strips diacritics and apostrophes, so typing mbae suggests mba'e and tey suggests te'ý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. 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 Kaiowá.

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