Hi,
想請問兩個問題:
- 當凱比念 Today is a rainning day.的時候,那個 a 會念A,而不是ㄜ。 請問程式寫法是否有建議的方法可以唸出正確的發音"ㄜ"。
- 另外想請問mRobotAPI.startTTS(TTS_sample, Locale.ENGLISH.toString()),有加Locale.ENGLISH.toString()跟沒加的差別在哪裡?
再麻煩回覆,謝謝
Hi,
想請問兩個問題:
再麻煩回覆,謝謝
您好:
我使用Kebbi air 的SDK,設定如下辨識語系,但還是會中英文都辨識到,請問有辦法只限制一個語系嗎?
mRobot.setListenParameter(VoiceEventListener.ListenType.RECOGNIZE, "language", "en_US");
NUWA Developer (需登入,可下載文件\SDK, 與查詢Motion List)
https://dss.nuwarobotics.com/documents/sdkDescription/robotSdk
NUWA SDK英文版說明(網頁版. pdf版請至官網下載)
https://bj.bcebos.com/v1/nuwarobotics-files/sdk/NUWA_Robot_SDK_en.html
NUWA JavaDoc (公開API詳細說明)
https://developer-docs.nuwarobotics.com/sdk/javadoc/reference/packages.html
NUWA Github Open Source (公開範例原始碼)
https://github.com/nuwarobotics/
你可以透過startWakeUp(true) API來觸發"等待喚醒"
https://developer-docs.nuwarobotics.com/sdk/javadoc/reference/com/nuwarobotics/service/agent/NuwaRobotAPI.html#startWakeUp(boolean)
並透過VoiceEventListener中的onWakeup收到callback
https://developer-docs.nuwarobotics.com/sdk/javadoc/reference/com/nuwarobotics/service/agent/VoiceEventListener.html#onWakeup(boolean, java.lang.String, float)
底下為Android範例,不過可以參考一下呼叫方式
https://github.com/nuwarobotics/NuwaSDKExample/blob/master/app/src/main/java/com/nuwarobotics/example/voice/WakeupActivity.java