Uberi / speech_recognition

Speech recognition module for Python, supporting several engines and APIs, online and offline.
https://pypi.python.org/pypi/SpeechRecognition/
BSD 3-Clause "New" or "Revised" License
8.44k stars 2.4k forks source link

recognition with IBM Speech to Text #315

Open Mitchell1314 opened 6 years ago

Mitchell1314 commented 6 years ago

Hi sir, when I used "IBM Speech to Text" to make some speech recognition,here are some results I got: default the speaker of this audio file is English. But if a chinese speaker, what changes should i make to get correct results for Mandarin Chinese. Waiting for your reply. Thanks a lot.

dpny518 commented 6 years ago

pass the parameter r.recognize_ibm(audio, username=IBM_USERNAME, password=IBM_PASSWORD,language=zh-CN) The language string is the part before

https://www.ibm.com/watson/developercloud/speech-to-text/api/v1/#get_model

langauge_NarrowbandModel

apevec commented 3 years ago

https://www.ibm.com/watson/developercloud/speech-to-text/api/v1/#get_model

this link is now out of date, redirecting to https://www.ibm.com/watson#get_model

Updated location for developer docs seems to be https://cloud.ibm.com/apidocs/speech-to-text#getmodel