Feedback

  • Contents
 

Custom Elements

Both <hypothesis> and <result> elements may have custom elements. The engine integration module creating the recognition result appends these elements to the end of the corresponding element. They provide an engine integration module with the ability to return any engine-specific data in the recognition result (for example, more statistics). The Reco subsystem or tools do not interpret these custom elements.

RecoBasicInput_Outputs

The Reco tools that are available to analyze results allow an application to iterate through the XML results and view the properties for each hypothesis and slot. For built-in grammars (like the example), the recognition results have a special slot named _value that contains the normalized string representation of the data type that the built-in grammar represents. For example, the Boolean built-in grammar has a result value of true or false.

The Reco Basic Input tool exposes this value using the Top _value Slot output parameter that's in a string variable. In the example, it compares the variable to true or false.