Malayalam Typing (English to Malayalam)
Type Malayalam in English letters (Manglish) and get Malayalam script with suggestions as you type.
Type Malayalam as it is written in chats, in Manglish, and each word turns into Malayalam script when you press Space: njan becomes ഞാൻ, and avan veettil illa. becomes അവൻ വീട്ടിൽ ഇല്ല. A list under the word shows the other spellings it could be, most likely first.
The spelling rules and a dictionary of 100,000 common Malayalam 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 Malayalam 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 Malayalam 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 Malayalam, so pasted Manglish 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 ോ, and T, D, N, L, R and Sh for ട, ഡ, ണ, ള, റ and ഷ: pEru for പേര്, kaRi for കറി. Malayalam digits types ൧൨൩ for 123.
How Malayalam is typed
Malayalam has short and long e and o as separate letters, so e and o read the short vowel first and E and O ask for the long one, though the dictionary often knows which is meant. A consonant that closes a syllable is written as a chillu, a letter of its own: avan is അവൻ, avar അവർ. ര with the virama stands only before യ; before any other consonant r is ർ. nt is ന്റ, as in ente for എന്റെ, zh is ഴ and R asks for റ. A final u can be the half-u, the candrakkala alone: aaNu is ആണ്. A final m is the anusvara, and a single ch or th inside a word can stand for the doubled letter, as Manglish often types it, while a doubled letter typed reads doubled. ls is ത്സ, as in malsaram for മത്സരം, and an English word reads as it is said: office is ഓഫീസ്. The vowel sign au is written ൗ alone, as modern text writes it, and Malayalam ends a sentence with the full stop.
Malayalam in English letters has no single spelling: kodi can be കൊടി or കോടി, and nothing in kal says whether കാൽ or കല്ല് is meant. So each typed word is read every way the rules allow (a as അ or ആ, e as എ or ഏ, n as ന, ണ or ൻ, t 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 Malayalam 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 100,000 most frequent words in a sample of IndicCorp v2, with the romanisations AI4Bharat's Aksharantar records for them.
Tested on Aksharantar's 6,882 held-out Malayalam test pairs, whose spellings the dictionary leaves out, the first suggestion is the right word for 36% of them, and the right word is in the list for 45%. 59% of those words are outside the dictionary: rare words, names and English words in Malayalam, which typed text holds far fewer of. Counted by how often each word occurs in the IndicCorp sample, the first suggestion is right for 81% of the words typed, and the right word is in the list for 85%.
Examples
Chillus and a long vowel
- Typed
- njan naale varaam.
- Malayalam
- ഞാൻ നാളെ വരാം.
njan ends in the chillu ൻ, and the dictionary gives നാളെ with ള from a plain l.
The half-u
- Typed
- ithu ente pusthakamaanu.
- Malayalam
- ഇത് എന്റെ പുസ്തകമാണ്.
ithu and -aanu end in the half-u, the candrakkala alone, as Malayalam writes them.
Doubled letters
- Typed
- kuttikal kalikkunnu.
- Malayalam
- കുട്ടികൾ കളിക്കുന്നു.
tt, kk and nn are the doubled letters ട്ട, ക്ക and ന്ന, and the final l the chillu ൾ.
How Malayalam sounds are typed
| Sound | Type | Example |
|---|---|---|
| Short a, or none | a | amma → അമ്മ |
| Long ā (ാ) | aa | naadu → നാട് |
| ī (ീ) | ee | veedu → വീട് |
| Short e (െ) | e | ninte → നിന്റെ |
| Long ē (േ) | E, e | pEru → പേര് |
| Short o (ൊ) | o | oru → ഒരു |
| Long ō (ോ) | O, o | pOyi → പോയി |
| ai (ൈ) | ai | kai → കൈ |
| Half-u (്) at the end | u | aaNu → ആണ് |
| Chillu ൻ | n | avan → അവൻ |
| Chillu ർ | r | avar → അവർ |
| Chillu ൾ | l, L | aval → അവൾ |
| ന്റ | nt | ente → എന്റെ |
| ഴ | zh | pazham → പഴം |
| റ | R | kaRi → കറി |
| Anusvara (ം) at the end | m | maram → മരം |
Where the conventions come from
The conventions under How Malayalam is typed follow these sources: the Unicode Standard for how the letters are encoded, chillus included, and English Wikipedia for how Malayalam is written.
Sources
- The Unicode Standard, Version 18.0, Chapter 12: South and Central Asia-I — Unicode Consortium
- Malayalam script — English Wikipedia
- Malayalam phonology — English Wikipedia
Reviewed
Frequently asked questions
See also
- Tamil Typing (English to Tamil) — to type Tamil in English letters, on the same editor.
- Kannada Typing (English to Kannada) — to type Kannada in English letters.
- Text to Speech — to hear Malayalam text read aloud by your device's voices.