Tamil Typing (English to Tamil)
Type Tamil in English letters (Tanglish) and get Tamil script with suggestions as you type.
Type Tamil as it is written in chats, in Tanglish, and each word turns into Tamil script when you press Space: vanakkam becomes வணக்கம், and naan veettukku poren. becomes நான் வீட்டுக்கு போறேன். A list under the word shows the other spellings it could be, most likely first.
The spelling rules and a dictionary of 50,000 common Tamil words are loaded into the page, so nothing you type leaves your browser unless you report a word, and the tool keeps working if you go offline after it loads. The text is kept in this browser between visits.
How to use it
- Space, Enter or punctuation commits the highlighted word. On a computer keyboard, Enter commits without starting a new line; press it again for one.
- ↑ and ↓, or Tab move the highlight; a tap or click picks a word. Digit keys type digits.
- Esc keeps the word in English letters.
- Backspace straight after a commit brings back the English letters with the list open, to pick another word or retype it.
- Clicking a Tamil word opens its list again.
- Report a wrong word, under the list, opens the feedback form with the letters typed and the word suggested, to correct and send; nothing is sent until you submit it.
தமிழ் / English switches between typing Tamil and leaving letters as typed, as does Ctrl+G. Type email addresses and links in English mode: a word with digits or symbols in it stays as typed, but the first part of name.surname@… commits at its full stop. Convert all spells every English-letter word of the selection, or of all the text, in Tamil, so pasted Tanglish can be converted at once.
Capitals are ignored at the start of a word. Inside it, E and O ask for the long vowels ே and ோ, N, L and R for ண, ள and ற, T and D for ட, and S and Sh for ஸ and ஷ: thEn for தேன், naaL for நாள். Tamil digits types ௧௨௩ for 123.
How Tamil is typed
Tamil writes one letter where English has two sounds: க is k, g or h, ச is ch or s, ப is p or b, and t and d are த or ட. So magan is மகன் and sari சரி. ந begins a word and comes before த, while ன stands everywhere else, so n gives ந at the start and ன inside; N asks for ண, and nd gives ண்ட, as in vendum for வேண்டும். ழ is typed zh, as in tamizh, and L and R ask for ள and ற beside ல and ர. tr is ற்ற and ndr ன்ற, as they are said: netru is நேற்று.
Every consonant with no vowel after it carries the puḷḷi (்), at the end of a word too, so maram is மரம், and Tamil joins no letters into conjuncts but க்ஷ and ஸ்ரீ. Short and long e and o are separate letters, so e and o read the short vowel first and E and O ask for the long one; ae and ea also type ே, and oa ோ. The grantha letters ஜ ஷ ஸ ஹ write the sounds of loanwords, and f is the aytham before ப (ஃப), as loanwords write it. The vowels ொ ோ ௌ are written as single characters, as the Unicode Standard prefers, and Tamil ends a sentence with the full stop.
Tamil in English letters has no single spelling: kadai can be கடை (shop) or கதை (story), and nothing in palli says whether பள்ளி or பல்லி is meant. So each typed word is read every way the rules allow (t as த or ட, n as ந, ன or ண, l as ல, ள or ழ, r as ர or ற, a single letter as a doubled one), each reading costing more the looser it is. Readings that are real words in the dictionary are ranked by how common the word is in Tamil news and web text, less what the reading cost, and raised when the letters typed are a spelling people use for that word. Spellings outside the dictionary come after, so a name or a new word can always be typed.
The dictionary holds the 50,000 most frequent words in a sample of IndicCorp v2, with the romanisations AI4Bharat's Aksharantar records for them.
Tested on Aksharantar's 4,653 held-out Tamil test pairs, whose spellings the dictionary leaves out, the first suggestion is the right word for 42% of them, and the right word is in the list for 54%. 60% of those words are outside the dictionary: rare words, names and English words in Tamil, which typed text holds far fewer of. Counted by how often each word occurs in the IndicCorp sample, the first suggestion is right for 82% of the words typed, and the right word is in the list for 86%.
Examples
A question
- Typed
- ungal peyar enna?
- Tamil
- உங்கள் பெயர் என்ன?
The question mark commits the last word as Space does. The n of ungal and enna is ன inside the word, and the l of ungal the dictionary gives as ள.
ழ and the puḷḷi
- Typed
- netru mazhai peidhadhu.
- Tamil
- நேற்று மழை பெய்தது.
zh is ழ, tr is ற்ற, and dh is த, which Tamil does not tell apart from t.
Doubled letters and a last consonant
- Typed
- avan pallikku ponaan.
- Tamil
- அவன் பள்ளிக்கு போனான்.
kk is க்க, and avan and ponaan end in ன with the puḷḷi.
How Tamil sounds are typed
| Sound | Type | Example |
|---|---|---|
| Short a, or none | a | avan → அவன் |
| Long ā (ா) | aa | paal → பால் |
| ī (ீ) | ee | veedu → வீடு |
| Short e (ெ) | e | enna → என்ன |
| Long ē (ே) | E, ae | thEn → தேன் |
| Short o (ொ) | o | oru → ஒரு |
| Long ō (ோ) | O, oa | pOdhum → போதும் |
| ai (ை) | ai | kadai → கதை |
| க | k, g, h | magan → மகன் |
| ச | ch, s | sari → சரி |
| த and ட | th, t, d | thittam → திட்டம் |
| ந, ன and ண | n, N | nanban → நண்பன் |
| ழ | zh | vazhi → வழி |
| ள and ற | L, R | naaL → நாள் |
| ற்ற | tr | kaatru → காற்று |
| Puḷḷi (்) on a last consonant | — | maram → மரம் |
Where the conventions come from
The conventions under How Tamil is typed follow these sources: the Unicode Standard for how the letters, the puḷḷi and the two-part vowels are encoded, and English Wikipedia for how Tamil is written, said and punctuated.
Sources
- The Unicode Standard, Version 18.0, Chapter 12: South and Central Asia-I — Unicode Consortium
- Tamil script — English Wikipedia
- Tamil phonology — English Wikipedia
- Tamil language — English Wikipedia
Reviewed
Frequently asked questions
See also
- Kannada Typing (English to Kannada) — to type Kannada in English letters, on the same editor.
- English to Hindi Typing — to type Hindi in English letters.
- Text to Speech — to hear Tamil text read aloud by your device's voices.