I am using python-crfsuite package in python, an implementation of CRFSUITE developed by Naoaki Okazaki(http://www.chokkan.org/software/crfsuite/)
I want to use the entity class of previous token as a feature, which will help me in identifying multi-word named entities. my training data example:
[(Raheja,B-builder),(vista,I-builder),(is,O),(very,O),(famous,O)]
here if i can use the previous class feature while training.but while predicting we pass the list of features to the tagger object. the problem while testing is that previous class will not be known.
can anyone tell me if this is possible in python-crfsuite at all. I feel that the way we pass features to the tagger object, it is not possible.