Why polyglot does not return the un-transliterated text back?

142 Views Asked by At
eg = 'bajra bechna बाजरा बेचना'
fin=''
text = Text(eg)

for x in text.transliterate("en"):
    fin = fin + ' ' + str(x)


print(fin)  

output:
बाजरा बेचना

I am loosing the initial English text in the output. How can I get all of it in the output?

0

There are 0 best solutions below