Skip to content
Kotoshu Kotoshu 言修

ar العربية n. — full feature

Arabic

RTL spell checking for the largest full-feature language

Specimen

هذه مدسرة جميلة

1. مدسرة مدرسة

What arrives on demand

dictionary
Hunspell dictionary with full affix morphology and compounding
frequency
Kelly frequency tiers — common words rank first in every suggestion list
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 Arabic-101 layout

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

Set it up

gem install kotoshu
kotoshu setup ar

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

Notes

  1. 1.

    Keyboard-proximity suggestions use the Arabic 101 layout.

  2. 2.

    The script-aware tokenizer extracts Arabic letter runs; Kotoshu.check flags misspellings inside real sentences.

  3. 3.

    The fastText ONNX model is available for semantic reranking.