Skip to content
Kotoshu Kotoshu 言修

ne नेपाली n. — full feature

Nepali

Devanagari conjuncts kept whole

Specimen

म नमसते भन्छु

1. नमसते नमस्ते

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 Devanagari-InScript layout

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

Set it up

gem install kotoshu
kotoshu setup ne

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

Notes

  1. 1.

    The Devanagari tokenizer keeps matras and virama conjuncts attached to their base consonant; danda and Devanagari digits separate sentences.

  2. 2.

    Keyboard-proximity suggestions use the Devanagari InScript grid.

  3. 3.

    The dictionary is compact (~924 KiB) — Nepali runs in the browser playground.

  4. 4.

    The fastText ONNX model is available for semantic reranking.