Skip to content
Kotoshu Kotoshu 言修

lv Latviešu n. — full feature

Latvian

Latvian with macrons

Specimen

Es lasu grāamta skloa.

1. grāamta grāmata

2. skloa skola

What arrives on demand

dictionary
Hunspell dictionary with full affix morphology and compounding
frequency
No Kelly list under this code; ranking leans on the dictionary and model
semantic
FastText ONNX embedding model for context-aware reranking — available as fluency (~15 MB, the default), full (120 MB), or mini (~3 MB), chosen at setup
keyboard
Keyboard proximity on the Latvian-QWERTY layout

Automatic detection is included — a document in this language is found before it is checked.

Set it up

gem install kotoshu
kotoshu setup lv

# optional, for semantic reranking
gem install onnxruntime
kotoshu setup lv --model                  # fluency, the default (~15 MB)
kotoshu setup lv --model --tier full      # maximum accuracy (~120 MB)

Notes

  1. 1.

    Keyboard-proximity suggestions use the Latvian QWERTY layout (parameterized Latin family).

  2. 2.

    The fastText ONNX model is available for semantic reranking.