Phonetic typing in more languages
Roman letters in, native script out, for Marathi, Nepali, Sanskrit, Gujarati, Punjabi, Odia, Assamese, Tamil, Telugu, Kannada, Malayalam, Persian, Arabic, Greek and Tibetan.
Bangla has Avro, Hindi has Hindi phonetic and Urdu has Urdu phonetic. Fifteen more languages now have the same kind of layout: a QWERTY grid where you type a word the way you’d write it in a chat, and the keyboard writes it in the language’s own script. Type vanakkam on Tamil phonetic and you get Tamil; type el7amdulillah on Arabic phonetic and you get الحمدلله.
| Language | Layout | You type | You get |
|---|---|---|---|
| Marathi | Marathi phonetic | tumhi, tyala | तुम्ही, त्याला |
| Nepali | Nepali phonetic | k xa, vayo | के छ, भयो |
| Sanskrit | Sanskrit phonetic | kRShNa, bhagavAn | कृष्ण, भगवान् |
| Gujarati | Gujarati phonetic | tame, chhu | તમે, છું |
| Punjabi | Punjabi phonetic | mainu, ohda | ਮੈਨੂੰ, ਉਹਦਾ |
| Odia | Odia phonetic | tume, kemiti | ତୁମେ, କେମିତି |
| Assamese | Assamese phonetic | tumar, xokolu | তোমাৰ, সকলো |
| Tamil | Tamil phonetic | naan, neenga | நான், நீங்க |
| Telugu | Telugu phonetic | nenu, meeru | నేను, మీరు |
| Kannada | Kannada phonetic | naanu, namma | ನಾನು, ನಮ್ಮ |
| Malayalam | Malayalam phonetic | njaan, ningal | ഞാൻ, നിങ്ങൾ |
| Persian | Persian phonetic | kheili, mikonam | خیلی, میکنم |
| Arabic | Arabic phonetic | 3arabi, kayf | عربي, كيف |
| Greek | Greeklish | kalimera, 8elw | καλημέρα, θέλω |
| Tibetan | Wylie | bod skad, bkra shis | བོད་སྐད, བཀྲ་ཤིས |
Turning one on
Section titled “Turning one on”Add the language, open its screen, and turn on its phonetic card under Layouts. The layout the language already had stays the default, so adding a language still gives you the keyboard you’d expect for it; the phonetic one is a choice. Then download the language’s word list from the Dictionary row on the same screen. None of these lists ships inside the app, and the next section explains why the phonetic layout cares more than most.
Every key is where it is on the English layout. What you type shows up in the native script in the composing text straight away. Once the strip has ranked the word, the composing text shows the word the space will commit. Translate’s own text box spells the same way, so you can type the text to translate in your own script. The keys stay left-to-right on Persian and Arabic while the text runs right to left, as on Urdu phonetic.
How a word is read
Section titled “How a word is read”Three layers, the same three Hindi and Urdu phonetic use, in this order:
- A list of known spellings, a few hundred words for each language: the commonest words whose roman spelling doesn’t carry enough to get the script right, chat shorthand, and English loanwords written in the script (
school,phone,doctor). A spelling on the list is settled there, and it shows in the composing text the moment you finish typing it. A capital that changes what the rules spell goes around the list, since you chose that letter on purpose. - The language’s word list, if you’ve downloaded it. What you typed and every word on the list are reduced to a loose key that forgets what roman spelling never says (vowel length, dental against retroflex, aspiration, the letters a script keeps for its loanwords) and keeps those details only to rank the candidates. With the list installed, the right word comes first for most chat spellings: Marathi 90%, Gujarati 82%, Telugu 78%, Punjabi 75%, Kannada 60%, Malayalam 56%, Odia 54%, Tamil 48% (measured on about 200 everyday chat spellings per language).
- The rules alone, for every word that’s in neither. They make the likelier guess, and the strip offers the other readings next to it, such as the same spelling with a vowel read long or with a different closing vowel, so you can tap the one you meant.
Since 0.6.8 the strip also offers the words of the list that what you’ve typed so far begins, the way an English strip finishes a word: namas in Hindi offers नमस्ते before you reach the end. Space still writes the reading of what you typed. Typed from Dakshina’s romanized Wikipedia sentences, the word meant was on the strip before its last letter for 60% of Hindi words instead of 30%, 67% of Gujarati instead of 35% and 53% of Marathi instead of 14%, and about a quarter of the keystrokes went unneeded instead of one in eight. It needs a word list that counts how common each word is. A list without counts, such as the one Tamil downloads today, gives nothing to rank by, so those languages don’t get it.
Folding a whole word list into those keys is work, and a phone that does it at every keyboard start spends tens of megabytes on it. So the data repository does it once, ahead of time, for every language here and for Hindi and Urdu, and publishes the result beside the word list (<code>_phonetic_v1r1.wmpi.gz, v1r2 for Bangla and Assamese, 1 to 9 MB). The keyboard fetches it right after the word list and reads it in place from storage, so it costs almost no memory. Only lists you imported yourself are still folded on the phone. Until the file is there (no connection, or the build with no internet), the keyboard folds the downloaded list itself, as it always did. You can import the file instead: it is in the language’s language pack, and Offline imports installs it.
The rules alone get about half of everyday words exactly right: Tamil 66%, Kannada and Malayalam 60%, Marathi 57%, Punjabi 57%, Gujarati 55%, Telugu 53%, Odia 42%, Persian 67%, Arabic 46%. Nepali was measured differently, see Nepali. The rest are lexical facts no rule can know, which is what the first two layers are for.
In the first two layers the words before count too: one spelling can stand for several words, and the one or two you typed just before move up the reading that usually follows them, on the strip and for what space writes. The evidence is your own typing (every word pair you commit is remembered) and the language’s word-pair data, which all eleven have as a 1 to 2 MB download in the language’s Dictionaries group, next to the word list. Without it, it is your own habits only, and those start empty. A known spelling only ever trades places with another known spelling of the same buffer. WM Keyboard Languages & layouts your language Spellings Use the words before turns it off.
A spelling none of that recognizes may be a typo. The keys are checked against the romanized spellings people write for the language, as an English typo is checked against English words, so a slip of one key still reaches the word. See Bangla for how it decides. It works on any language here with romanized spellings to check against, and it follows the autocorrect switch for that language: with autocorrect off the fix is only offered on the strip.
Neural suggestions
Section titled “Neural suggestions”The three layers above know the words their lists know and the spellings their rules expect. Loose spellings fall between them: valobashi, bhalobasi and bhalobaashi are all ভালোবাসি to anyone who reads Bangla. Neural suggestions adds a fourth source for that, IndicXlit, a transliteration model by AI4Bharat that learned from millions of romanized words how people write 21 Indic languages in Latin letters. It is off by default, and it is the same switch on every language that has it: Bangla, Hindi, Urdu, Assamese, Marathi, Nepali, Gujarati, Punjabi, Odia, Tamil, Telugu, Kannada and Malayalam.
Turned on, the strip shows up to three of the model’s readings right after the word the space bar writes. Readings that are in the language’s word list come first. The word the space bar writes never changes (unless you turn on Let it choose the word), and the model never corrects anything by itself: its readings are only offered, and a tap writes one. So it helps most when you scroll or glance past the first word, and costs nothing when the first word was already right.
Measured on held-out words, the right word in the first four places of the strip:
| Language | Without | With |
|---|---|---|
| Bangla, chat spellings the known-spellings list doesn’t have | 52% | 80% |
| Hindi, chat spellings the known-spellings list doesn’t have | 88% | 93% |
| Bangla, Aksharantar test words | 30% | 80% |
| Hindi, Aksharantar test words | 55% | 84% |
| Urdu | 43% | 73% |
| Marathi | 60% | 86% |
| Gujarati | 58% | 87% |
| Punjabi | 55% | 75% |
| Odia | 33% | 66% |
| Tamil | 39% | 81% |
| Telugu | 57% | 90% |
| Kannada | 51% | 89% |
| Malayalam | 32% | 77% |
| Nepali | 50% | 93% |
The other languages were measured on 2,000 words of the Aksharantar test set each, with the language’s word list installed. Aksharantar spells long vowels doubled (aa, ee), which Avro reads differently from most of these layouts, so Bangla’s Aksharantar row starts low; the chat rows are the fairer picture for Bangla.
The model is one download of 13 MB, shared by every language, from the data repository’s models release on GitHub, checked against a SHA-256 built into the app. It also needs ONNX Runtime, the same part Offline Sherpa runs on, about 33 MB, which the Google Play build gets from Play and the other builds from Maven Central. Turning the setting on starts both downloads under one progress bar, runtime first, and the size the switch quotes counts the runtime until it is on the phone, so a first download reads about 46 MB rather than 13. The row under it shows how far they are and starts them again after a failure; once the model is here, tapping the row or swiping it offers to delete it. Deleting turns neural suggestions off on every language that had them; the model is also a row of its own under Downloads on the storage screen. Everything runs on the phone, on a thread of its own, and nothing you type leaves it. A reading that takes longer than the strip can wait for appears a moment later, while you are still on the word.
The last row of the group is the Romanized dictation model, the same model family trained the other way round, from the script back to Latin letters. It has nothing to do with typing: it is for dictating this language in Latin letters (Banglish, Hinglish), where it spells the words the spelling lists don’t know, and it is a download of its own. See Hinglish, Banglish and other romanized languages.
Let it choose the word
Section titled “Let it choose the word”Bangla, Hindi, Assamese, Gujarati, Kannada, Malayalam, Marathi, Odia, Punjabi and Telugu have a second switch, under Neural suggestions and off by default. With it on, the model may also pick what the space bar writes, but only in one case: the rules spell something that is not a word in the language’s word list or among your own words, and the known-spellings list has nothing for what you typed. Then the model’s best reading that is in the word list goes first in the strip, and a space writes it. The rules’ spelling moves to second place, one tap away. Whenever the rules spell a known word, or the known-spellings list has the spelling, nothing changes.
The text in the field still shows the rules’ spelling while you type, as it does when the space bar is about to write a dictionary word that sounds the same. The strip’s first word is what a space writes. If you press space before the model has answered, the keyboard waits up to 30 ms for it, so typing fast does not change which word you get.
Measured with the known-spellings list on, how often the space bar writes the right word:
| Words | Without | With | Made worse |
|---|---|---|---|
| Bangla, Aksharantar test words (4,000) | 25.3% | 53.3% | 16 |
| Bangla, chat spellings the known-spellings list doesn’t have (2,500) | 41.8% | 52.8% | 31 |
| Hindi, Aksharantar test words (4,000) | 40.0% | 47.6% | 27 |
| Hindi, chat spellings the known-spellings list doesn’t have (692) | 78.2% | 80.1% | 0 |
| Assamese, Aksharantar test words (4,000) | 26.7% | 38.5% | 18 |
| Gujarati, Aksharantar test words (4,000) | 46.9% | 57.0% | 15 |
| Kannada, Aksharantar test words (4,000) | 44.0% | 62.0% | 4 |
| Malayalam, Aksharantar test words (4,000) | 25.6% | 35.0% | 13 |
| Marathi, Aksharantar test words (4,000) | 49.2% | 58.1% | 5 |
| Odia, Aksharantar test words (4,000) | 24.5% | 32.2% | 25 |
| Punjabi, Aksharantar test words (4,000) | 40.1% | 48.1% | 7 |
| Telugu, Aksharantar test words (4,000) | 50.0% | 66.1% | 11 |
What it gives up is Avro’s rule that the space bar writes exactly what you spelled. A name or rare word spelled exactly to the rules, but missing from the word list, can turn into a listed word that looks like it: ananto আনান্ত becomes অনন্ত, bharotpur ভারতপুর becomes ভরতপুর. On words spelled exactly to the rules and missing from the list, that happened to about one in six in Bangla and one in fifteen in Hindi. For words the list has, it happened to 2 of 305 in Bangla and none of 427 in Hindi. In the other eight languages, of the test words the rules spelled right but the word list lacks, between 2% (Kannada) and 14% (Odia) were swapped. Urdu and Tamil gained about one point each, too little for that trade, so they do not have the switch. It does nothing while the strip is fixed to the word as typed, or while desktop Avro’s candidate list is shown in its own row, since the first word there would then disagree with the space bar.
What each language does
Section titled “What each language does”Marathi, Gujarati and Punjabi
Section titled “Marathi, Gujarati and Punjabi”These follow Hindi phonetic’s model: you write the word the way it sounds, the inherent vowel drops in speech, and a final vowel is long. Each language has its own grammatical endings the rules keep clear of a conjunct.
- Marathi reads
zandzhas झ (maza,tuza),Las ळ, and knows its own postpositions and verb endings:tyalaत्याला,karnarकरणार,karunकरून,gharachyaघराच्या,mitrannoमित्रांनो. - Gujarati reads
zas ઝ andxas ક્ષ (Axar,Laxmi), writes the neuter and infinitive endings with their nasal (huહું,karvuકરવું,kartuકરતું), and the locative too (gharmaઘરમાં). - Punjabi is written in Gurmukhi, which has almost no conjuncts: a doubled consonant is the addak (
pakkaਪੱਕਾ), a nasal is a tippi or a bindi by the vowel before it (mainuਮੈਨੂੰ,tonਤੋਂ), and a y-glide is a vowel carrier rather than ਯ (pyarਪਿਆਰ,gyaਗਿਆ,duniyaਦੁਨੀਆ).
Nepali
Section titled “Nepali”Nepali phonetic is written for the way Nepali is typed in a chat. x is छ and v is भ, as in k xa के छ, vayo भयो and vanda भन्दा, while w stays व. A closing a is the inherent vowel unless the word ends in मा, दा or था (kina किन, gharma घरमा, garda गर्दा). A closing u stays short (garnu गर्नु), and a closing ai is ै (sabai सबै).
- Verb endings join their stem, and a
chin them is छ:garcha,garxaandgarchhaall write गर्छ,hunchawrites हुन्छ,sakdinaसक्दिन andgarthyoगर्थ्यो. An ending that closes on न or स takes its halanta (chanछन्,garnuhosगर्नुहोस्,garosगरोस्). - Postpositions glued to a word keep their spelling, and the stem never joins them:
ramlaiरामलाई,gharbataघरबाट,timisangaतिमीसँग,keTiharuकेटीहरू. - A nasal before a stop is written with that row’s nasal, as Nepali spells it (
sanketसङ्केत,ghanTaaघण्टा), and before a sibilant or ह as the anusvara (sansaarसंसार). Any consonant joins a र after it (timroतिम्रो,mitraमित्र).
There is also Nepali transliteration, the exact scheme Nepali Wikipedia’s editors type in.
With the Nepali word list installed, a closing a can also find a word that does not write one, so xa finds छ and hunxa finds हुन्छ, and a v or w finds a word spelled with व or ब. The known-spellings list has about 400 chat spellings (k के, hjr हजुर, px पछि, tapai तपाईँ) and 100 English loanwords. On 2,000 Nepali test words from Aksharantar, most of them long and rare, the rules alone spelled 17.6% exactly, against 10.7% for the plain Devanagari rules the Nepali layout used to fall back on. The strip’s first four had the word 50.3% of the time with the word list, and 92.8% with neural suggestions on.
Sanskrit
Section titled “Sanskrit”Sanskrit phonetic reads ITRANS and Harvard-Kyoto, the two schemes Sanskrit is typed in that need only letter keys, so what you type is spelled exactly. Every vowel is typed, and a word that ends on a consonant takes its halanta (bhagavAn भगवान्, saMskRtam संस्कृतम्).
- Vowels: long ones doubled or capital (
aaorA,iiorI,uuorU);R,RiorRRiis ऋ,RRis ॠ,lRis ऌ. - Consonants: the retroflex row is capital (
T,Th,D,Dh,N); ष isShorS, श isshorz;GandJare ङ and ञ;xis क्ष andjnis ज्ञ; छ ischhorCh. - Signs:
Mis the anusvara andHthe visarga, andomon its own is ॐ. A nasal before a stop of its row is written as the anusvara (sangItamसंगीतम्); typeGorJto write the nasal itself (saGgItaसङ्गीत).
There is no known-spellings list for Sanskrit, since these schemes leave nothing to guess. With the Sanskrit word list installed the strip also offers listed words that sound like what you typed.
Writing Sanskrit in another script
Section titled “Writing Sanskrit in another script”Sanskrit is printed in every script of India and in IAST, so since 0.6.8 the Sanskrit layouts can write in one of those while you go on typing ITRANS or Harvard-Kyoto. Pick the script under Write in another script on Sanskrit’s own screen: IAST, ISO 15919, Grantha, Kannada, Telugu, Malayalam, Tamil, Bangla, Odia, Gujarati, Gurmukhi, Sinhala, Sharada, Siddham, Newa, Modi, Tirhuta or Brahmi. The layouts then get a button beside the suggestions, the one the legacy fonts use, labelled with the script’s two letters (IA for IAST, GR for Grantha). With it lit, each word goes into the text box in that script as you finish it: saMskRtam writes saṃskṛtam in IAST, or 𑌸𑌂𑌸𑍍𑌕𑍃𑌤𑌮𑍍 in Grantha. The strip, prediction and correction still work in Devanagari. A script picked here replaces a legacy font, and the other way round, since a word can only go in one way.
The conversion is vidyut-lipi’s and needs its library, the Indic script converter, about 860 KB; the same screen has Download for it. Until it is on the phone, words go in as Devanagari. To convert text already written, select it and use Convert script.
Odia, Tamil, Telugu, Kannada and Malayalam
Section titled “Odia, Tamil, Telugu, Kannada and Malayalam”These languages pronounce every vowel, so people type every vowel: amma, nanna, avan. A consonant straight after a consonant is a conjunct, and a word-final consonant takes a virama (Tamil’s pulli, Malayalam’s chillu).
- Short and long e and o are separate letters in the four Dravidian languages. Type
EorOfor the long one if you want to be exact; otherwise each language’s rules pick the likelier one from context (nenuనేను,bekuಬೇಕು). - Tamil has no separate voiced or aspirated letters, so
g d bandk t pwrite the same Tamil letter.zhis ழ,Lள,Rorrrற,ndrன்ற (nandriநன்றி), and a single stop between vowels is doubled the way Tamil writes it (irukuஇருக்கு). - Malayalam follows the Mozhi conventions people already use:
tട,thത,dഡ,dhദ,ntന്റ (enteഎന്റെ),ngങ്ങ,njഞ,zhഴ, and a finalmis ം. - Telugu reads
thanddhas the plain dentals (thammuduతమ్ముడు), and a finalmas ం (manamమనం). - Kannada reads
thas ತ and knows its plural-galuand the long first vowels of its commonest words (bekuಬೇಕು,heluಹೇಳು). - Odia writes ଯ where a word opens and ୟ elsewhere, ୱ for
w, and spells its nasal clusters as conjuncts (rangaରଙ୍ଗ,panchaପଞ୍ଚ).
Malayalam, Tamil, Telugu and Kannada also read a spelling the way Varnam does, the engine behind Indic Keyboard’s Varnam layouts, over Varnam’s own tables of what each roman pattern can stand for. th may be ത, ത്ത, ഥ or ത്ഥ and ll may be ല്ല or ള്ള, so vellam has many readings, and the keyboard follows only those some word of the downloaded list starts with: വെള്ളം. The commonest whole word that survives goes first on the strip, ahead of the word list’s other matches; Varnam’s engine itself is not part of the app, only its tables.
On 2,000 held-out words per language (Aksharantar’s test set), that put the intended word first more often: Malayalam 23.1% to 30.9%, Tamil 36.6% to 41.1%, Telugu 52.6% to 53.2%, Kannada 42.3% to 42.8%, with the strip’s first four as good or better. It needs the word list; without one these languages read exactly as before. The same walk added nothing on Marathi, Gujarati, Punjabi, Odia or Nepali, so they don’t use it.
Assamese
Section titled “Assamese”Assamese uses Avro’s rules, because people romanize it the way they romanize Bangla, with three changes: every র is ৰ, an x is the Assamese স (xokolu সকলো, axom অসম), and a w gliding into a vowel is ৱ.
Persian
Section titled “Persian”kh is خ, ch چ, zh ژ, gh ق (Gh for غ). Short a, e and o aren’t written inside a word, a final e is the silent ه (khoone خونه), and i is always the long ی. The verb prefixes می and نمی are written with the zero-width non-joiner the language uses (mikonam میکنم, nemitoonam نمیتونم).
Arabic
Section titled “Arabic”Arabizi works, digits and all: 2 ق, 3 ع, 3' غ, 5 خ, 6 ط, 6' ظ, 7 ح, 8 ق, 9 ص, 9' ض. A number you type on its own stays a number. al, el and il before a consonant are the article ال (elyoum اليوم, essalam السلام), g is ج, ch is ش, and a closing a is ا with ة and ى offered beside it. 2 is ق rather than the hamza of most charts, because the people who type 2 most mean the glottal stop their dialect says for ق (2albi قلبي); the real hamza words are in the known-spellings list.
Greeklish doesn’t care which spelling you use: kalimera and kalhmera, thelw, 8elw and thelo, kserw, xerw and 3erw all find the same word, accent included, because the word list settles whether an i is ι, η, υ, ει or οι. b is μπ, d is δ and h can be η or χ. A number on its own stays a number. The accent and the right spelling come from the Greek word list, so download it from the language’s page first: without it you get the rules’ plain reading, καλημερα. There’s no romanized list yet, so swiping isn’t decoded on this layout.
Tibetan
Section titled “Tibetan”Wylie is an exact system rather than a guess, so there’s nothing to rank: what you type is what you get. The space bar types a tsheg, / a shad, and ' the a-chung. Stacks follow the rules of Tibetan spelling (bsgrubs བསྒྲུབས), . keeps two letters apart (g.yag གཡག) and + forces a stack (pad+ma པདྨ). Capitals are the Sanskrit letters and long vowels of Extended Wylie (Ta ཊ, A ཨཱ).
Exact transliteration schemes
Section titled “Exact transliteration schemes”The phonetic layouts above read chat spelling and guess where it is unsure. Many people learned one fixed scheme instead, where every key does one thing and a word is spelled exactly: the schemes Wikipedia’s editors type in, which Indic Keyboard offers as its transliteration layouts. Fifteen of them ship as layouts of their own, on the same QWERTY grid:
| Language | Layout | You type | You get |
|---|---|---|---|
| Nepali | Nepali transliteration | nepaala | नेपाल |
| Hindi | Hindi transliteration | raama | राम |
| Marathi | Marathi transliteration | oMkaara | ओंकार |
| Sanskrit | Sanskrit transliteration | saMskRtam | संस्कृतम् |
| Malayalam | Mozhi, Swanalekha | malayaaLam, nanni | മലയാളം, നന്നി |
| Odia | Odia transliteration, Lekhani | dxiNeSwr (Lekhani) | ଦକ୍ଷିଣେଶ୍ୱର |
| Tamil | Tamil transliteration | thamizh | தமிழ் |
| Telugu | Telugu transliteration | telugu | తెలుగు |
| Kannada | Kannada transliteration | gautam | ಗೌತಮ್ |
| Gujarati | Gujarati transliteration | gujaraatii | ગુજરાતી |
| Punjabi | Punjabi transliteration | hoiaa | ਹੋਇਆ |
| Assamese | Assamese transliteration | tumi | তুমি |
| Sinhala | Singlish | sinhala | සින්හල |
Add the language and turn the layout on under Layouts, as for a phonetic one. A consonant on its own shows with a virama until the vowel after it lands: k writes क्, then a makes it क, and h after k makes it ख्. A space ends the word the way the scheme says, which for Hindi transliteration drops a closing virama (agar is अगर). A few signs besides letters are part of the scheme, such as ` or ~ for a virama, \ to type the next key as itself, and . for the danda, and the keyboard passes those to the rules too. Digits stay digits. Turn on WM Keyboard Languages & layouts your language Key hints Show the letter each key types to see on each key what it will write next.
These layouts write exactly what the scheme spells, so the suggestion strip offers words that begin with it rather than other readings. The rules are the methods’ own files from jquery.ime, Swanalekha from Indic Keyboard’s copy of it, read by the keyboard’s own engine, which passes the jquery.ime test suite for every one of them that has tests. The keyboard fixes one thing the files get wrong: Nepali transliteration declares less history than its rules read, so on Wikipedia na types न्अ. Here it types न.
One more runs on rules but is typed in Telugu rather than in roman letters: KaChaTaThaPa, from Indic Keyboard. Its keys are Telugu letters, క as ka, and the virama key then a vowel turns that vowel into its sign: క ్ ఇ is కి, క అ is కా, and త ్ ఎ ల ్ ఉ గ ్ ఉ is తెలుగు. A nasal before a consonant becomes the anusvara (మ ్ బ ్ is ంబ్), and & typed between them keeps the మ్. Its rule file had three slips, the nasal before స and వ and the & before భ, which are fixed here.
Any other jquery.ime method can be added from its rule file, see Input methods.
Languages with rules only
Section titled “Languages with rules only”77 more languages have a phonetic layout named after them: kamal writes कमल on Maithili phonetic, కమల on Lambadi (Telugu) phonetic and কমল on Chittagonian phonetic.
| Script | Languages |
|---|---|
| Devanagari | Ahirani, Awadhi, Bagheli, Bagri, Bhili, Bhojpuri, Bodo, Bundeli, Chhattisgarhi, Dhundhari, Dogri, Garhwali, Godwari, Gondi, Gujari, Halbi, Harauti, Haryanvi, Kangri, Kannauji, Kashmiri, Konkani, Korku, Kurukh, Lambadi, Magahi, Maharashtrian Konkani, Maithili, Malvi, Mandeali, Marwari, Merwari, Mewari, Nimadi, Rangpuri, Sadri, Shekhawati, Sindhi, Surjapuri, Varhadi, Wagdi |
| Bengali | Bishnupriya Manipuri, Bodo, Chittagonian, Garo, Kok Borok, Manipuri, Mundari, Santali |
| Gujarati, Odia, Kannada, Telugu | Bhili; Halbi; Konkani, Lambadi, Tulu; Gondi, Lambadi |
| Arabic | Bagri, Balti, Brahui, Dakhini, Dogri, Eastern and Southern Balochi, Gujari, Kashmiri, Marwari (Pakistan), Northern and Southern Hindko, Pahari-Potwari, Pashto, Saraiki, Shina, Sindhi |
| Other | Yiddish in Hebrew letters, Mongolian in Cyrillic, Santali in Ol Chiki, Manipuri in Meetei Mayek |
These work from a table of sounds, with none of the grammar rules the languages above have, so treat the first spelling as a guess. Capital letters pick the retroflex sounds, as on the other Indic layouts, and on Sindhi, Saraiki and Pashto they and doubled letters also reach the letters Urdu doesn’t have: dd is ڏ in Sindhi and ݙ in Saraiki, and x is ښ in Pashto. Mongolian follows chat spelling, where q is ө and v is ү.
All of them rank against a word list when one is installed, so the strip leads with a word the language has rather than the rules’ guess: odor finds өдөр on Mongolian even though the rules wrote о. Many of these languages have no list to download. Among the Arabic-script ones and the last row, only Pashto, Sindhi, Saraiki, Yiddish, Mongolian, Santali and Manipuri do, and for the others the strip shows what the rules wrote and their other readings, until you import a list. A list in another script than the layout’s ranks nothing.
Glide typing
Section titled “Glide typing”Swiping over a phonetic layout draws a romanization, so the stroke is decoded against romanized spellings and turned into the script, as on Avro. Marathi, Nepali, Gujarati, Punjabi, Tamil, Telugu, Kannada, Malayalam and Arabic each have a romanized word list in the language catalogue that widens what a swipe can find. See Glide typing.
Switching mid-word
Section titled “Switching mid-word”If you notice halfway through a word that you’re still on your Latin keyboard, switch to the phonetic layout: with Carry the word over on (the default), what you already typed is converted too. See Switching languages.
Details & edge cases
Section titled “Details & edge cases”These are new, and every table is a draft. The rules, the known-spellings lists and the loanword lists were written and measured against each language’s word list and a hand-written set of everyday chat spellings, not reviewed by native speakers. If a common word comes out wrong with the word list installed, open an issue and name the word and the spelling you typed.
Some word lists are better than others. Tamil’s has no frequencies at all, so the keyboard breaks ties by how close a candidate is to what the rules spell. Malayalam’s comes from subtitles and Gujarati’s, Marathi’s and Kannada’s from encyclopedic text, so spoken forms are thinner there, and the known-spellings lists lean on chat forms for that reason.
The phonetic machinery only loads if the layout is on. A language with just its script layout enabled builds none of it.
There are no selection-bar conversion chips for these languages yet. Bangla and Hindi have chips to convert selected text between roman and native script; these languages don’t.
