Reputation: 20708
I'm using TextToSpeech
to read words. This code works fine for most cases:
public void speak(String pContent) {
if (!isAvailable() || !isReady()) return;
this.mEngine.speak(pContent, TextToSpeech.QUEUE_ADD, null);
}
However, with words that have 3 or less characters such as dog
, cow
it just spells each character (d - o - g). Words like cow milk
, it spells cow
, then reads milk
correctly.
Did I do something wrong?
More information: I tried PicoTTS of Android, and on Galaxy Tab, I tried Samsung TTS too, both of them have this issue.
Upvotes: 4
Views: 1232
Reputation: 770
AFAIK the only way to get TTS to spell words is using all capitals. I can't see your pContent, but maybe you're feeding it COW milk?
Upvotes: 4
Reputation: 344
I have tested in Spanish and English with the words dog, cow, ant and I can not find the problem you are reporting. It is likely that you're missing something in the code. Use the example below, and indicates whether the problem was solved.
I hope it was useful.
Upvotes: 0