create_text_model — Create a text model.
create_text_model( : : : TextModel)
create_text_model creates a new TextModel which describes the text to be segmented by find_text. Set and query Parameters of TextModel via set_text_model_param and get_text_model_param.
Since memory is allocated for the text model during the call of create_text_model and during the following operations, the model should be freed explicitly by the operator clear_text_model as soon as it is no longer used.
New text model.
create_text_model returns the value 2 (H_MSG_TRUE).
set_text_model_param, get_text_model_param, find_text