- Installation
- Administration
- Programmer's Guide
- Grammars
- MRCP Server
- FAQs
TerminalsBegin and TerminalsEnd provide access to the "terminals" of the tree. Terminals are the words and phrases in your grammar, so a TerminalIterator gives you access the the exact words the engine heard a speaker say to match a grammar, in the order that the engine heard those words.
The following code prints out the sentence engine heard, with a word-level confidence score attached to each word.
So if the grammar being used was the top level navigation example grammar, and the engine recognized "go back", then the output of the above code might look like: