|
typedef void* H_SPT class LVParseTree |
Handle to a speech parse tree. Handles can be obtained from the speech port through LV_SRE_GetParseTreeHandle or LVSpeechPort::GetParseTree |
|
|
|
|
H_PARSE_TREE_ITR LVParseTree::Iterator |
Traverses the trees elements, with parents proceeding children, from left to right. |
|
H_PARSE_TREE_CONCEPT_ITR LVParseTree::ChildrenIterator |
Returns an iterator that points to the first child of the root of the tree. |
|
void |
Releases the memory pointed to by the H_SPT handle. The C++ object destroys itself. |
|
int int |
Returns the number of tags defined in the header of the grammar that built this tree. |
|
const char* const char* |
Returns the ith tag in the list of the trees header tags. |
|
const char* const char* |
Returns the name of the grammar that matched this tree. |
|
const char* const char* |
Returns the name of the tag format, e.g "lumenvox/1.0". |
|
const char* const char* |
Returns the mode of the grammar, "dtmf" or "voice" |
|
typedef void* H_SPT_PRE_ORDER_ITR class LVParseTree::PreOrderIterator |
Handle to a pre-order iterator over a speech parse tree. Use it to access information out of a tree or subtree. |
|
int bool |
returns true if the node being pointed to represents an grammar rule. |
|
int bool |
returns true if the node being pointed to represents decoded spoken input. |
|
int bool LVParseTree::PreOrderIterator::IsTag() |
returns true if the node being pointed to represents a tag (semantic information). |
|
int int |
Returns a confidence score, if the node represents speech. |
|
int int |
Returns the begin frame marker for speech data. |
|
int int |
Returns the end frame marker for speech data. |
|
const char* const char* |
Returns the phoneme string, if the node represents speech. |
|
const char* const char* |
Returns the name of this node. If it is a rule, this is the rule name. If it is a tag, this is the tag data. If it is speech, this is the word or phrase that was spoken. |
|
H_SPT_PRE_ORDER_ITR LVParseTree::PreOrderIterator |
Returns an iterator that will traverse the sub tree that is rooted at this node. |
|
H_SPT_CHILDREN_ITR LVParseTree::ChildrenIterator |
Returns an iterator that points to the first child of this node, that traverses all the children of this node. |
|
int bool |
Returns true if the iterator has visited all nodes in the tree or subtree already. |
|
int void |
Advances the iterators position in the tree or subtree |
|
int int |
Gets the level of the node that this iterator is pointing to. The root node is level 0, the roots children are level 1, and so on. |
|
void |
Releases the memory used by the handle. The PreOrderIterator class destroys itself |
|
typedef void* H_SPT_CHILDREN_ITR class LVParseTree::ChildrenIterator |
Same API as H_SPT_PRE_ORDER_ITR, but a children iterator only accesses the children of the node where it was created. |
|
|
|
Complete Help Topic List | Speech Engine Product Information