diff --git a/slur-replacement/approx_slurs/src/main.py b/slur-replacement/approx_slurs/src/main.py index 0d9ebb51..ff6ef292 100644 --- a/slur-replacement/approx_slurs/src/main.py +++ b/slur-replacement/approx_slurs/src/main.py @@ -66,12 +66,15 @@ def get_devanagari_roman_transliteration(phrase): return sanscript.transliterate(phrase, sanscript.DEVANAGARI, sanscript.ITRANS) + def get_roman_devanagari_transliteration(phrase): return sanscript.transliterate(phrase, sanscript.ITRANS, sanscript.DEVANAGARI) + def get_tamil_roman_transliteration(phrase): return sanscript.transliterate(phrase, sanscript.TAMIL, sanscript.ITRANS) + def get_roman_tamil_transliteration(phrase): return sanscript.transliterate(phrase, sanscript.ITRANS, sanscript.TAMIL)