In this example, we will match the test-taker's utterance to the closest option provided in the Multiple Choice Question and evaluate the pronunciation of the spoken word or sentence. For instance, if the multiple-choice options are:
Apple
Banana
Orange
The test-taker’s response will be scored based on how closely it matches one of these options, and the pronunciation of the spoken word or sentence will be assessed for accuracy.
The request parameters which you can see in the cURL below are the same as in Score Text/Pronunciation. Note that the options {Apple, Banana and Orange} are specified in the text field and are separated by newline characters (or \n).
In the above cURL, the audio file is matched to the closest choice, which is "Orange." Therefore, the response evaluates the pronunciation of the word "Orange":