python-crfsuite icon indicating copy to clipboard operation
python-crfsuite copied to clipboard

Why you are entering the labels in the training step??!

Open alaakh42 opened this issue 6 years ago • 1 comments

In the examples/CoNLL 2002.ipynb directory the model uses the labels in the training step exactly in word2features function . and yet you got an accuracy less than 100%

alaakh42 avatar Dec 13 '17 15:12 alaakh42

In fact, the model solves NER and uses the postags which are given during training AND testing. The labels are B-MISC I-MISC O ... not NB V ADJ....

So yes the results are good but remain on a prelabelling or a POS tagger, which can't be always available. You may never reach such result without POS tags.

Pantamis avatar Jan 19 '18 15:01 Pantamis