ASR (STT) 語音辨識結果之回傳

Hi,

想請問關於 Cloud ASR 或 Local ASR 的 API,是否能回傳辨識的文字?
因 API 說明文檔內似乎提到的是 ASR 後直接進小米大腦 NLP 做處理?

謝謝!

Local ASR 的 API,可取得傳辨識的文字,
Cloud ASR, 目前用的小米NLP, NLP回傳的是json, 裡面含有辨識的文字

info:

Local ASR

ASR engine use "訊飛", App needs to create Grammer (Command table)

Cloud ASR and Local ASR mix operation

While doing ASR Mix mode, engine will receive results from local and cloud, engine will only return one of both. Rules are: </br>

  1. if engine get local result, it will only return local result
  2. if engine get no local reslt, it will return NLP result if internet is available

PS: Cloud ARS and local ASR result are json format string.

  • createCrammer(final String var1, final String var2)
  • startMixUnderstand() (The local result is returned first. If there is no local result, the cloud NLP result will be returned. The grammar table must be built before use the api)
  • stopListen()

@allen-huang

若是你手上的機器人是小丹,你可以用
1。startSpeech2Text(false), 取得colud回傳的字串,回傳的字串是簡體。
2。也可以呼叫startLocalCommand(),若辯識成功,則可以取得ifly local 辯識的結果, 內容是jsont格式的字串

Log in to reply

Looks like your connection to NUWA robotics developer forum was lost, please wait while we try to reconnect.