Semantic Processing of the Answers Collections
The processing of Answer controls in the Answers and ExtraAnswers collections is based on the comparison of recognition confidence with the ConfirmThreshold threshold of the Answer control.
Each Answer in the Answers and ExtraAnswers collections is evaluated according to this logic:
Recognition Results Match XPathTrigger? |
Recognition Confidence Exceeds ConfirmThreshold? |
Resulting Semantic State |
---|---|---|
No | --- | Empty |
Yes | Yes | Confirmed |
Yes | No | NeedsConfirmation |
When this stage of semantic processing is complete, RunSpeech examines the semantic state of Answer controls in the Answers and ExtraAnswers collections. If all the Answer controls are in the Empty semantic state, RunSpeech will reactivate the QA control. Otherwise, RunSpeech will process the Confirms collection, if present, or consider the QA complete.