question

jimmy201 avatar image
0 Votes"
jimmy201 asked RobCaplan edited

Word by Word Assessement in Android

We are implementing Microsoft cognitive service speech to text in android. We are successfully able to integrate speech to text and Pronunciation Assessment into the app for the reference text.
Now we are trying to implement word by word assessment but the same is not reflecting into the response(the kind of response we are expecting is attached below). Code for the same is available in javascript(attached below) and .net but the equivalent for android is not provided in the documentation109924-1-1.png109850-2-1.png


azure-cognitive-services
1-1.png (18.2 KiB)
2-1.png (13.7 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

GiftA-MSFT avatar image
0 Votes"
GiftA-MSFT answered jimmy201 commented

Hi, here's the documentation for Java. We don't parse the json result in Java for pronunciation assessment. However, you can get the raw json string and parse it, for example:

 String json_string = result.getProperties().getProperty(PropertyId.SpeechServiceResponse_JsonResult);

Hope this helps.




· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.


I coudn't find the function pronunciationAssessmentResult.detailResult.Words implemented in Android .
The following is the code from javascript. Did it get dropped?
var wordLevelResult = pronunciationAssessmentResult.detailResult.Words;

0 Votes 0 ·

Thanks for following up! I'm inquiring from the product team. Will provide updates shortly.

1 Vote 1 ·

Hi, please review my updated response. Thanks.

0 Votes 0 ·
Show more comments