Python code to generate interpreter for language processing (translation, transliteration, syllabification, diacritics mark placement)