Skip to content
Kotoshu Kotoshu 言修

sr Српски n. — full feature

Serbian

Serbian Cyrillic full feature

Specimen

Читам књгиа у шклоа.

1. књгиа књига

2. шклоа школа

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 Serbian-Cyrillic layout

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

Set it up

gem install kotoshu
kotoshu setup sr

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

Notes

  1. 1.

    Keyboard-proximity suggestions use the Serbian Cyrillic layout.

  2. 2.

    sr-Latn stays unwired (like nn); this module is the Cyrillic path.

  3. 3.

    The fastText ONNX model is available for semantic reranking.