Does TTS API work without network connection on android?

做~自己de王妃 提交于 2019-11-28 08:31:30

问题


hello i'm a student of engineer school and i was wondering if TTS(Text to Speech) works in offline environment for android.


回答1:


You require an internet connection for the Text to Speech API, but you can use Text to Speech in offline mode by applying the following settings.

Currently not all devices support offline speech input. However you can follow this discussion to enable offline speech input for supported devices.

1. On your device go to Settings -> Language and Input. Click on the Google voice input icon (text-to-speech output on some devices).
2. Under ALL tab select the language you want to download.
3. Once the language package downloaded, you can see it under INSTALLED tab.

Download all the offline speech models (voices) you require to support offline Text to Speech.



来源:https://stackoverflow.com/questions/43486478/does-tts-api-work-without-network-connection-on-android

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!