TTS for Indian languages - android

I want to develop an Android application (using some library) which displays and reads text in Indian languages. Mainly in Devanagari (Sanskrit/Hindi/Marathi etc.) what would be the best way to go about it? Should i specify Phonetics for each word and feed it to Pico? Or can anyone please suggest a better and a simpler library. (Which even sounds natural).
Thanks in advance. :)

This may work.... Try to customize your TTS Locale as
Locale loc=new Locale("en","IN");
tts.setLanguage(loc);

Related

how to convert English Spelling with Bangla

I need to convert the sentence to Bangla text for speaking.
Example:
How are you? -> হাউ আর ইউ?
If anyone can do this with any programing language Please share this code.
Advance Thanks.
i think u need to see this
(Text-To-Speech) Service
https://pub.dev/packages/text_to_speech
Seems like you need transliteration rather than translation. You can take a look at this package:
transliteration
They have support for several languages, including Bangla.

Tamil translate in android

How do I translate/convert Thanglish to tamil script on android?
I googled a lot but didn't find any hints, could someone please suggest a solution?
you have to use google translate API if you want to translate texts dynamically. Refer this link.
https://cloud.google.com/translate/docs?csw=1
There are online tools like quillpad and tamiltyping and apps in android like Tanglish to do that. If you want to develop one in android, you can translate as the vowels and consonants are typed in english, and add a tamil dictionary to make sure the spelling is right.

TextoToSpeech in another language

I'm trying to do a TextoToSpeech program in Android Studio but I want it to get a word and say it in another language(portuguese) that is not listed when I hit CTRL+SPACE.
How do I set this new language?
Well, It's related to the TTS Engine, there is a lot of engines like the Google TTS Engine, You can change language to speak by using setLanguage() function. Lot of languages are supported like Canada, French, Chinese, Germany etc.,but if the 'portuguese' language does not appear so you can not add it using this engine, so i suggest you to change your engine, there are a lot of engines, try to use Ekho engine, or find what engine support the portuguese language!!
tts.setLanguage(Locale.CHINESE); // Chinese language
I hope it will help you, best regards

What typeface/fonts are working with international languages on Android?

I'm not sure how or where to ask this question, but I guess lots of experienced android developers here could point me in the correct direction.
What I would like is to give my users to customize their type of font/typeface. But, as the application got users from all around the world, with all kind of languages and charsets, I don't know what typefaces/fonts that supports this. I need fonts that support chinese, english/latin, cryllic, russian, arabic, etc etc... For now, I only use the default font on android, as Im not sure if any other fonts supports all these international characters. (I use utf8)
Anyone got some tips ?

Is there any way to modify Android Text To Speech pronunciation?

I am looking a way to develop an app in Android which speaks Javanese Language from texts. As I know there is no such Javanese TTS installed by default. So is there any way to modify default TTS engine pronunciation?
For example, the my expected pronunciation of "PIYE" is pee-ye. Here is what the TTS engine produces:
mTts.speak("piye", TextToSpeech.QUEUE_ADD, null); // output: pie-ee
Can somebody help me? Thank you.
No, you cannot change the pronunciation. There is not API method to do so.
I am trying to do something similar - get an app to use standard US-EN pronunciation for scientific terms. My solution is to force the TTS engine to say certain words in a certain way by first replacing them with phonetically correct phrases. Here's an example:
myString = myString.replace(" cis "," sihs ");
This approach seems promising but not perfect.

Categories

Resources