问题
So i'm looking into building a speech to text app for fun. I did some research and found an inbuilt Speech to Text API using RecognizerIntent that is free, but also found that google is now offerieng a cloud speech API that the charge for.
My question is, what is the difference between them, and If i use the inbuilt RecognizerIntent, is it free?
回答1:
For the Google Cloud Speech API, refer to the following link:
https://cloud.google.com/speech/. Here are the highlights:
- It supports 80 different languages.
- It can recognize audio uploaded in the request.
- It returns text results in real-time.
- It is accurate in noisy environments.
- It works with apps across any device and platform.
- It is not free. Refer to the following link for pricing:
https://cloud.google.com/speech/pricing
For the Android Speech-to-Text API (Recognizer Intent), refer to the following link:
http://www.androidhive.info/2014/07/android-speech-to-text-tutorial/. Here are the highlights:
- Need to pass local language to convert speech to text.
- Not all devices support offline speech input.
- You cannot pass an audio file to be recognized.
- The intent returns an array of strings which match to out input. We can consider first one as the most accurate.
- It only works with Android phones.
- It is free.
来源:https://stackoverflow.com/questions/40894457/difference-between-android-speech-to-text-api-recognizer-intent-and-google-clo