Function | Return Type | Description |
LVParseTree_Node_CreateCopy (H_PARSE_TREE_NODE Node) | H_PARSE_TREE_NODE | Creates a copy of a node. |
LVParseTree_Node_CreateChildrenIteratorBegin (H_PARSE_TREE_NODE Node) | H_PARSE_TREE_CHILDREN_ITR | Traverses the immediate children of this node. |
LVParseTree_Node_CreateChildrenIteratorEnd (H_PARSE_TREE_NODE Node) | H_PARSE_TREE_CHILDREN_ITR | Marks the end of traversal for the ChildrenIterator |
LVParseTree_Node_CreateIteratorBegin (H_PARSE_TREE_NODE Node) | H_PARSE_TREE_ITR | Provides an iterator that walks each node in the sub tree rooted by this node in a top-to-bottom, left-to-right fashion. |
LVParseTree_Node_CreateIteratorEnd (H_PARSE_TREE_NODE Node) | H_PARSE_TREE_ITR | Marks the end of traversal for the parse tree iterator |
LVParseTree_Node_CreateTerminalIteratorBegin (H_PARSE_TREE_NODE Node) | LH_PARSE_TREE_TERMINAL_ITR | Traverses the terminals(words) of the subtree rooted by this node. |
LVParseTree_Node_CreateTerminalIteratorEnd (H_PARSE_TREE_NODE Node) | LH_PARSE_TREE_TERMINAL_ITR | Marks the end of traversal for the TerminalIterator. |
LVParseTree_Node_CreateTagIteratorBegin (H_PARSE_TREE_NODE Node) | H_PARSE_TREE_TAG_ITR | Traverses the tags (semantic data) in the subtree rooted by this node. |
LVParseTree_Node_CreateTagIteratorEnd (H_PARSE_TREE_NODE Node) | H_PARSE_TREE_TAG_ITR | Marks the end of traversal for the TagIterator. |
LVParseTree_Node_IsRule (H_PARSE_TREE_NODE Node) | int | Returns true if this node represents a matched rule in a grammar. Note: rule nodes are the only nodes that can have children. The children of a rule node match the right hand side of the grammar rule that is represented by this node. |
LVParseTree_Node_IsTerminal (H_PARSE_TREE_NODE Node) | int | Returns true if this node represents a terminal (word) in a grammar. Note: the parent of a terminal node is always a rule in the matching grammar that contains this terminal. |
LVParseTree_Node_IsTag (H_PARSE_TREE_NODE Node) | int | Returns true if this node represents a tag (semantic data) in a grammar. Note: the parent of a tag node is always a rule in the matching grammar that contains this tag. |
LVParseTree_Node_AreEqual (H_PARSE_TREE_NODE Node1, H_PARSE_TREE_NODE Node2) | int | Returns true (non-zero) if the nodes are the same type and have the same rulename/text. Ignores pronunciation, start time, end time, and score. |
LVParseTree_Node_GetText (H_PARSE_TREE_NODE Node) | const char* | For a rule node, this is the partial sentence that caused the rule to match. For a terminal node, this is the word that the node represents. For a tag node, this is the tag data. |
LVParseTree_Node_GetRawText(H_PARSE_TREE_NODE Node) | const char* | Similar to GetText(). GetText() gives you the text as it appears in the grammar (case-sensitive), and RawText gives you the text as it appears in the SRE (all-caps). |
LVParseTree_Node_GetPhonemes (H_PARSE_TREE_NODE Node) | const char* | For a rule node, this is the phonetic pronunciation of the partial sentence that caused the rule to match. For a terminal node, this is the phonetic pronunciation of the word that was spoken. For a tag node, this is empty. |
LVParseTree_Node_GetRuleName (H_PARSE_TREE_NODE Node) | const char* | For a rule node, this is the name of the rule being represented. For a tag or terminal node, this is the name of the node's parent. |
LVParseTree_Node_GetScore (H_PARSE_TREE_NODE Node) | int | For a rule node, this is the confidence of the rule being matched. For a terminal node, this is the confidence of the word being spoken. For a tag node, this is the parent rule's score. |
LVParseTree_Node_GetStartTime (H_PARSE_TREE_NODE Node) | int | For a rule node, this is the the start time of the first word that matched this rule (elapsed time from the start of the utterance, in milliseconds). For a terminal node, this is the start time of the word. For a tag node, this is the start time of the first word after the tag/ the end time of the last word before the tag. |
LVParseTree_Node_GetBeginFrame(H_PARSE_TREE_NODE Node) | int | For a rule node, this is the beginning audio frame of the first word that matched this rule (an SRE audio frame). For a terminal node, this is the first audio frame of the word. For a tag node, this is the start time of the first word after the tag/ the end time of the last word before the tag. |
LVParseTree_Node_GetEndTime (H_PARSE_TREE_NODE Node) | int | For a rule node, this is the the end time of the last word that matched this rule (elapsed time from the start of the utterance, in milliseconds). For a terminal node, this is the end time of the word. For a tag node, this is the start time of the first word after the tag/ the end time of the last word before the tag. |
LVParseTree_Node_GetEndFrame(H_PARSE_TREE_NODE Node) | int | For a rule node, this is the last frame of the last word that matched this rule (an SRE audio frame). For a terminal node, this is the last frame of the word. For a tag node, this is the start time of the first word after the tag/ the end time of the last word before the tag. |