Skip to content

Sinhala Phonetic OrthographyHow Sinhala words are built in writing

A sourced study of the letter inventory, vowel signs, conjuncts, nasals, phonotactics and sandhi, with a phonetic romanization whose output provably obeys the rules.

The Sinhala letter a

What's here ​

🧾Consolidated rule set88 deduplicated rules, each marked HARD (invariant), SOFT (tendency) or STYLE (accepted variants), each citing its sources
📚Seven topic studiesAbout 250 numbered rules with evidence from Unicode, SLS 1134, the ICANN Sinhala script panel, linguistics and NLP papers, and school grammar material
✍️PlaygroundThe reference converter, running in your browser. Type a romanization and see each step
🔤Letter explorerAll 923 letter forms, their validity status, the rules behind it and how to type each one
🐍Python & JS packagesto_sinhala / toSinhala, the inventory and a frequency-based disambiguator. No dependencies
📈VerificationEvery allowed form is producible, and 3.98 million inputs produce no rule violation

Quick start ​

python
from sinhala_orthography import to_sinhala

to_sinhala("lankaava")   # 'ලංකාව'
to_sinhala("kruura")     # 'කෲර'
to_sinhala("lait")       # 'ලයිට්'

Requires Python 3.9 or later and nothing else. See the Python reference.