Data Fields | |
ESR_ReturnCode(* | checkParse )(struct SR_SemanticProcessor_t *self, SR_SemanticGraph *semgraph, const LCHAR *transcription, SR_SemanticResult **result, size_t *resultCount) |
ESR_ReturnCode(* | checkParseByWordID )(struct SR_SemanticProcessor_t *self, SR_SemanticGraph *semgraph, wordID *wordIDs, SR_SemanticResult **result, size_t *resultCount) |
ESR_ReturnCode(* | destroy )(struct SR_SemanticProcessor_t *self) |
ESR_ReturnCode(* | setParam )(struct SR_SemanticProcessor_t *self, const LCHAR *key, const LCHAR *value) |
ESR_ReturnCode(* | flush )(struct SR_SemanticProcessor_t *self) |
ESR_ReturnCode(* SR_SemanticProcessor::checkParse)(struct SR_SemanticProcessor_t *self, SR_SemanticGraph *semgraph, const LCHAR *transcription, SR_SemanticResult **result, size_t *resultCount) |
Parse a graph with the processor provided as argument. Store semantic results in the objects pointed to by each element in the array provided. In other words, each element of the array is a pointer to a SemanticResult object created (and destroyed) by the caller of the function. The size of the array must be SWIrecResultData **result_dataindicated in resultCount. If the array is not big enough, ESR_BUFFER_OVERFLOW is returned with resultCount set to the size required.
ESR_ReturnCode(* SR_SemanticProcessor::checkParseByWordID)(struct SR_SemanticProcessor_t *self, SR_SemanticGraph *semgraph, wordID *wordIDs, SR_SemanticResult **result, size_t *resultCount) |
Parse a graph with the processor provided as argument. Store semantic results in the objects pointed to by each element in the array provided. In other words, each element of the array is a pointer to a SemanticResult object created (and destroyed) by the caller of the function. The size of the array must be SWIrecResultData **result_dataindicated in resultCount. If the array is not big enough, ESR_BUFFER_OVERFLOW is returned with resultCount set to the size required.
ESR_ReturnCode(* SR_SemanticProcessor::destroy)(struct SR_SemanticProcessor_t *self) |
ESR_ReturnCode(* SR_SemanticProcessor::setParam)(struct SR_SemanticProcessor_t *self, const LCHAR *key, const LCHAR *value) |
Set a param to be read by Semantic Processor during processing.
self | SR_SemanticProcessor handle | |
key | The name of the param | |
value | The value of the param |
ESR_ReturnCode(* SR_SemanticProcessor::flush)(struct SR_SemanticProcessor_t *self) |