Open MoonRock1961 opened 7 years ago
Hi, can you give more details? where did you change the language id (file and line) and paste the exception stack? thanks
Thank you for your reply.
Your original English version works fine.
But I have changed only the 93rd line of "SpeechToText.cs" in "Watson-unity-sdk-1.0.0/Scripts/Services/SpeechToText/v1" as follows:
private string _recognizeModel = "ja-JP_BroadbandModel"; // ID of the model to use.
Best regards.
Hi miwatsuki, I tested it and the error comes from watson web service. I don't understand why. My projects uses IBM watson unity SDK to talk to watson web services and there may be an error in how they formulate http request or process the response. I suggest you ask this question there: https://github.com/watson-developer-cloud/unity-sdk
Sorry I couldn't help more.
Thank you for your information. I will ask the question to the watson sdk site as you suggest if I can't fix the error by myself.
Thank you for your providing the useful project.
I'd like to create Japanese chatbot with this unity project. However, if the language model is changed from "en-US" to "ja-JP", then the "speech-to-text" is outputted an error message "list index out of range".
Could you tell me how to fix this error.
Thank you.