Spaces:
Runtime error
Runtime error
File size: 176 Bytes
4b37b7e |
1 2 3 4 5 6 |
def sanskrit_cleaners(text):
text = text.replace('॥', '।').replace('ॐ', 'ओम्')
if len(text)==0 or text[-1] != '।':
text += ' ।'
return text
|