Проверка VoiceXML подсказки пользователя верна
Я пытаюсь сделать свое первое программное обеспечение для прослушивания голоса, используя evolution.voxeo.com. Я пытаюсь настроить его так, чтобы он задавал 5 вопросов, сообщал вам, правильно ли вы ответили или нет, и затем заканчивал. Мне трудно понять, что не так с моей текущей настройкой для вопроса 1. ...
<vxml version="2.1">
<form>
<field>
<prompt>
You will be asked 5 questions about the class, lets see if you get them right.
</prompt>
</field>
<field name="term1">
<prompt>
Question one. What is Breaking down an input string into words and or sentences.
</prompt>
<grammar mode="voice"> token </grammar>
<filled>
<if cond="term1=='token'">
<prompt> You got it right. </prompt>
<else/>
<prompt> You got it wrong. </prompt>
</if>
</filled>
</field>
</form>
</vxml>
...