Function GenieNode_getTokenizer¶
Defined in File GenieNode.h
Function Documentation¶
-
Genie_Status_t GenieNode_getTokenizer(const GenieNode_Handle_t nodeHandle, GenieTokenizer_Handle_t *tokenizerHandle)¶
A function to get the tokenizer handle associated with a node.
- Parameters
nodeHandle – [in] A node handle.
tokenizerHandle – [in] A tokenizer handle tied to nodeHandle. Must not be NULL.
- Returns
Status code:
GENIE_STATUS_SUCCESS: API call was successful.
GENIE_STATUS_ERROR_INVALID_HANDLE: Node handle is invalid.
GENIE_STATUS_ERROR_INVALID_ARGUMENT: At least one argument is invalid.
GENIE_STATUS_ERROR_GET_HANDLE_FAILED: Get tokenizer failure.