Welcome to transliteration’s documentation!¶
Transliterator This application helps you to transliterate text from any Indian language to any other Indian language. Enter the text for transliteration in the below text area. Language of each word will be detected.
You can give the text in any language and even with mixed language. For Malayalam alone, English->Malayalam, Malayalam->English Transliteration is available. ISO 15919, an international standard for the transliteration of Indic scripts to the Latin alphabet formed in 2001 is also supported. Select ISO 15919:2001 for ‘Transliterate To’ for using this scheme. Transliteration to International Phonetic Alphabet is also available.
transliteration
API¶
-
class
transliteration.core.
Transliterator
[source]¶ Transliteration class, instantiate this to get access to the transliteration methods
-
transliterate
(text, target_lang_code)[source]¶ Parameters: - text (str.) – The text to be transliterated.
- target_lang_code (str.) – The language into which word has to be transliterated.
Returns: the transliterated text.
The transliteration functioon which can transliterate text to the supported target languages.
-
transliterate_en_hi
(word)[source]¶ Parameters: word (str.) – The word to be transliterated. Returns: the translated word. Transliterate English to Hindi with the help of CMU pronuciation dictionary
-
transliterate_en_kn
(word)[source]¶ Parameters: word (str.) – The word to be transliterated. Returns: the translated word. Transliterate English to Kannada with the help of CMU pronuciation dictionary
-
transliterate_en_ml
(word)[source]¶ Parameters: word (str.) – The word to be transliterated. Returns: the translated word. Transliterate English to Malayalam with the help of CMU pronuciation dictionary
-
transliterate_en_xx
(word, target_lang)[source]¶ Parameters: - word (str.) – The word to be transliterated.
- target_lang (str.) – The language into which word has to be transliterated.
Returns: the translated word.
Transliterate English to any Indian Language.
-
transliterate_indic_en
(word, src_lang)[source]¶ Arguments: - self: - word: Word to be transliterated (sentence) - src_lang: Language from which we need to transilterate
-
transliterate_indic_indic
(word, src_lang, target_lang)[source]¶ Transliterate from an Indian languge word to another indian language word
Parameters: - word (str.) – The word to be transliterated.
- src_lang (str.) – The language of the word.
- target_lang (str.) – The language into which word has to be transliterated.
Returns: the translated word.
-