Closed simranjeetsood closed 8 years ago
@simranjeetsood simply set the timestamps as true, by default it is false; and set max_alternatives a desired value, by default it is 1. Right now timestamps is not available, but I have already submitted the pull request.
I'm closing this because since @mihui already answered the question
I have been using the speech-android-sdk in my app and have correctly integrated it in my app. Its working perfectly and is correctly giving me the recording results. My question is: the response received in java-sdk as mentioned on watson STT API reference on IBM is of the format
In the android SDK, the response is received by onResponse(String s) method implemented by SpeechDelegate. The response received by this method as String s is of the format:
If I want to access the "timestamps" and "word_alternatives" entries in the response, how should I go about it? P.S. I have implemented the SDK the same way its mentioned in the example project and its working perfectly.