Transliteration Options
Lipi Lekhika provides several built-in transliteration options to handle script-specific transformations. For the scripts themselves, including Normal and Romanized, see the Script Guide.
Available Options
Section titled “Available Options”all_to_normal:replace_pancham_varga_varna_with_n
Section titled “all_to_normal:replace_pancham_varga_varna_with_n”Replaces ङ (G) and ञ (J) with ‘n’ for more natural output.
| Input | Output |
|---|---|
| raJjitam | ranjitam |
| raGgam | rangam |
brahmic_to_brahmic:replace_pancham_varga_varna_with_anusvAra
Section titled “brahmic_to_brahmic:replace_pancham_varga_varna_with_anusvAra”Replaces 5th varga consonants (ङ्, ञ्, ण्, न्, म्) with anusvāra (ं) when followed by consonants of the same varga.
| Input (Devanagari) | Output (Telugu) |
|---|---|
| काङ्क्षते | కాంక్షతే |
all_to_sinhala:use_conjunct_enabling_halant
Section titled “all_to_sinhala:use_conjunct_enabling_halant”Uses conjunct-enabling halant (්) for Sinhala output to properly form conjunct consonants.
all_to_normal:remove_virAma_and_double_virAma
Section titled “all_to_normal:remove_virAma_and_double_virAma”Removes virāma (।) and pūrṇa virāma (॥) punctuation from Normal/Romanized output.
all_to_normal:replace_avagraha_with_a
Section titled “all_to_normal:replace_avagraha_with_a”Replaces avagraha (ऽ) with ‘a’ in Normal/Romanized output.
| Input | Output |
|---|---|
| ko`pi | koapi |
normal_to_all:use_typing_chars
Section titled “normal_to_all:use_typing_chars”Enables typing mode characters including duplicate alternatives and script-specific characters. Equivalent to typing mode using createTypingContext function.
all_to_normal:preserve_specific_chars
Section titled “all_to_normal:preserve_specific_chars”Preserves script-specific characters when converting to Normal script. Can be useful for studying script specific characters.
normal_to_brahmic:include_inherent_vowel
Section titled “normal_to_brahmic:include_inherent_vowel”Keeps the inherent vowel (schwa) of a consonant at the end of a word from Normal/Romanized to a Brahmic script, instead of adding a halant. A consonant followed by another consonant still takes a halant. Same as the includeInherentVowel typing option.
| Input (Normal) | Output (Devanagari) | Default |
|---|---|---|
| kamal | कमल | कमल् |
| rAm | राम | राम् |
normal_to_brahmic:keep_ascii_numerals
Section titled “normal_to_brahmic:keep_ascii_numerals”Keeps ASCII digits (0-9) as they are from Normal/Romanized to a Brahmic script, instead of writing them as the native numerals of the script. Same as useNativeNumerals: false in typing.
| Input (Normal) | Output (Devanagari) | Default |
|---|---|---|
| 2025 kAla | 2025 काल | २०२५ काल |