I am working on a use-case where I have trained a linear chain CRF model and persisted it for further use.
I would like to make this model now available through a service. This service, takes input of user query who's labels now need to be inferred using the model.
Is there a way to do this without having to tokenize the sentence and set initial labels randomly for the tokens and then having model predict the actual labels??
The LinearChainCRF examples in the tutorial use pre-tokenized and labeled test files. But, I am not sure how to provide sentence without any pre-set labels.
Please help.