Gujarati Typing (English to Gujarati)
Type Gujarati in English letters and get Gujarati script with suggestions as you type.
Type Gujarati as it is written in chats and messages, in English letters, and each word turns into Gujarati script when you press Space: kem cho becomes કેમ છો, and tamaru naam shu chhe? 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 Gujarati 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 Gujarati 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 Gujarati 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 Gujarati, so pasted text can be converted at once.
Capitals are ignored, except T, D, N, L and Sh inside a word, which ask for ટ, ડ, ણ, ળ and ષ: paaNi for પાણી, shaaLa for શાળા. Gujarati digits types ૧૨૩ for 123.
How Gujarati is typed
Gujarati is written much as Hindi is, and the tool reads it on the same rules, letter for letter in the Gujarati script, with what Gujarati writes differently. ળ is a letter of its own beside લ and never begins a word, so l inside a word can be either, and L asks for ળ: shaala is શાળા. ણ likewise never begins a word. Gujarati writes the z of Persian loanwords as જ or ઝ, so z reads both, as in zaad for ઝાડ, and letters with a nukta are left out. Many words end in a nasal vowel that the anusvara writes, as in the ending -માં and verbs in -વું, so a final aa or u also reads ાં or ું: rahevu is રહેવું. Gujarati ends a sentence with the full stop, which replaced the old vertical bar.
Gujarati in English letters has no single spelling: કામ is kaam or kam, and nothing in bal says whether બળ or બાળ is meant. So each typed word is read every way the rules allow (a as અ or આ, t as ત or ટ, l as લ or ળ, a final aa as ા or ાં, n as anusvara or a half ન), 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 Gujarati 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 7,734 held-out Gujarati 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 55%. 57% of those words are outside the dictionary: rare words, names and English words in Gujarati, 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 88%.
Examples
ળ and a nasal ending
- Typed
- shalama balako ramta hata.
- Gujarati
- શાળામાં બાળકો રમતા હતા.
The dictionary gives શાળા and બાળકો with ળ from a plain l, and shalama its ending -માં.
A sentence about the language
- Typed
- mane gujarati bhasha game chhe.
- Gujarati
- મને ગુજરાતી ભાષા ગમે છે.
chh is છ, and the full stop stays a full stop, as Gujarati writes it.
The weather
- Typed
- aaje varsaad padshe.
- Gujarati
- આજે વરસાદ પડશે.
Long vowels typed doubled, as in aaje and varsaad, narrow the choice to the word meant.
How Gujarati sounds are typed
| Sound | Type | Example |
|---|---|---|
| Short a, or none | a | ghar → ઘર |
| Long ā (ા) | aa | kaam → કામ |
| i (િ) | i | dil → દિલ |
| ī (ી) | ee, i | nadi → નદી |
| u (ુ) | u | kutro → કૂતરો |
| ū (ૂ) | oo | phool → ફૂલ |
| e (ે) | e | desh → દેશ |
| ai (ૈ) | ai | paisa → પૈસા |
| o (ો) | o | mor → મોર |
| ળ | l, L | shaala → શાળા |
| ણ | N, n | paaNi → પાણી |
| ઝ for z | z | zaad → ઝાડ |
| Anusvara (ં) at the end | aa, u | rahevu → રહેવું |
| Anusvara before a consonant | n, m | sambandh → સંબંધ |
| ક્ષ | ksh | kshetra → ક્ષેત્ર |
| જ્ઞ | gy | gyaan → જ્ઞાન |
Where the conventions come from
The conventions under How Gujarati is typed follow these sources: the Unicode Standard for how the letters are encoded, and English Wikipedia for how Gujarati is said, written and punctuated.
Sources
- The Unicode Standard, Version 18.0, Chapter 12: South and Central Asia-I — Unicode Consortium
- Gujarati script — English Wikipedia
- Gujarati phonology — English Wikipedia
Reviewed
Frequently asked questions
See also
- English to Hindi Typing — to type Hindi in English letters, on the same editor.
- English to Marathi Typing — to type Marathi in English letters.
- Text to Speech — to hear Gujarati text read aloud by your device's voices.