React Native Speech to Text

为君一笑 提交于 2019-11-30 20:13:00

You might wanna look at react-native-android-voice, a React Native module that supports speech-to-text for Android.

As @delkant mentioned, there's now also react-native-voice that supports both Android and iOS.

Alternatively, you can always write your custom native module using Android's SpeechRecognizer API. Here's a summary of all the classes and interfaces you might need for this task. If you are familiar with developing native Android apps, it's pretty easy to create a native module and bind it to your React Native project. Here's the official documentation of how to achieve this.

You also have react-native-voice

A speech-to-text library for React Native.

It supports android and iOS

The react-native-bluemix module provides both SpeechToText and TextToSpeech for React Native: https://github.com/pwcremin/react-native-bluemix

It wraps the Watson tools for both ios and android: https://github.com/watson-developer-cloud

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