React Native Speech to Text

前端 未结 3 1318
执笔经年
执笔经年 2020-12-16 21:19

I am making a language app that records any new vocabulary a user is trying to learn. It would be great if users can add their words via a speech to text program, instead of

相关标签:
3条回答
  • 2020-12-16 21:50

    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

    0 讨论(0)
  • 2020-12-16 21:56

    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.

    0 讨论(0)
  • 2020-12-16 21:59

    You also have react-native-voice

    A speech-to-text library for React Native.

    It supports android and iOS

    0 讨论(0)
提交回复
热议问题