[speech-to-text] Null word_alternatives and double parsing on time stamps
While using speech-to-text, res.word_alternatives always come back null, the speech recognition event never seems to come back with a key of "word_alternatives". Also on speech-to-text, parsing to double on timestamp values has the same issue as it did on confidence values (just rare that a time stamp will start/finish exactly on an integer value).
Im using the latest sdk version v2.15.3.
Confirming the timestamp issue. Just ran into it. Also the same cast issue with ialternative["confidence"] in the same function.
Looking at converting all of these values to strings and then converting to doubles. For the word_alternatives did you set the WordAlternativesThreshold?
_service.WordAlternativesThreshold = 0.5f;
Can you guys try out this PR and see if you have any more issues with double parsing? https://github.com/watson-developer-cloud/unity-sdk/pull/533
I did go through and fix all the casting myself. As to the null word alternatives, I did have the threshold set but it seems IBM may have done something their end as it all works as it should now. Many thanks for the replies.
:tada: This issue has been resolved in version 2.15.4 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:
:tada: This issue has been resolved in version 3.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket: