Sanskrit-TTS / text /cleaners.py
CjangCjengh
files uploaded
4b37b7e
raw
history blame contribute delete
176 Bytes
def sanskrit_cleaners(text):
text = text.replace('॥', '।').replace('ॐ', 'ओम्')
if len(text)==0 or text[-1] != '।':
text += ' ।'
return text