Data Fields | |
| ESR_ReturnCode(* | getKeyCount )(struct SR_SemanticResult_t *self, size_t *count) |
| ESR_ReturnCode(* | getKeyList )(struct SR_SemanticResult_t *self, LCHAR **list, size_t *size) |
| ESR_ReturnCode(* | getValue )(struct SR_SemanticResult_t *self, const LCHAR *key, LCHAR *value, size_t *len) |
| ESR_ReturnCode(* | destroy )(struct SR_SemanticResult_t *self) |
| ESR_ReturnCode(* SR_SemanticResult::getKeyCount)(struct SR_SemanticResult_t *self, size_t *count) |
Returns number of [key, value] pairs in the current results.
| self | SemanticResult handler | |
| count | The number keys |
| ESR_ReturnCode(* SR_SemanticResult::getKeyList)(struct SR_SemanticResult_t *self, LCHAR **list, size_t *size) |
Given an array of pointers to LCHAR*, populates that array with pointers to the keys used internally by the recognition result. These keys should not be modified!
| self | SemanticResult handler | |
| list | [out] List of keys associated with n-best list entry. | |
| size | [in/out] Size of list. If the return code is ESR_BUFFER_OVERFLOW, the required size is returned in this variable. |
| ESR_ReturnCode(* SR_SemanticResult::getValue)(struct SR_SemanticResult_t *self, const LCHAR *key, LCHAR *value, size_t *len) |
Returns copy of semantic value.
| self | SemanticResult handler | |
| key | The key to look up | |
| value | [out] The buffer used to hold the resulting value | |
| len | [in/out] Length of value argument. If the return code is ESR_BUFFER_OVERFLOW, the required length is returned in this variable. |
| ESR_ReturnCode(* SR_SemanticResult::destroy)(struct SR_SemanticResult_t *self) |
Destroys a semantic result.
| self | SemanticResult handler |
1.5.3