martijnrondeel / SpeechBot

A Text-to-Speech Python Telegram bot
MIT License
87 stars 27 forks source link

Found a japanese error #1

Closed adriansalgadoa closed 9 years ago

adriansalgadoa commented 9 years ago

Wrote "/s coiporu cosmicoru" and it returned an empty file. Thought it wouldn't process it so tried with each word individually and it worked, then tried again and it returned the correct sound file after a while.

It wasn't a connection error because I tried with other words and they did work.

martijnrondeel commented 9 years ago

Please describe the error.

martijnrondeel commented 9 years ago

I've had this issue a few times too, sometimes Google's API returns back nothing (try setting language to chinese and doing /speech zhzhzhzhzhhzzhh for example) but when breaking down the sentence in smaller parts it does work. Not much the bot can do about this small issue though.