Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Running CRFSuite examples

I'm trying to use CRFSuite but I can't figure out how to use the example/ner.py and pos.py

Precisely, how do I make an input of the form:

# Ner.py
fields = 'y w pos chk'

or

# Pos.py
fields = 'w num cap sym p1 p2 p3 p4 s1 s2 s3 s4 y'

The "y w pos" I can get from a CoNNL model, for example, but the "chk" part and all those fields in pos.py I don't really get.

Also, is there a way to process a raw text (without all those tags) with CRFSuite given that I have a trained model?

like image 385
user1079319 Avatar asked Oct 23 '22 16:10

user1079319


1 Answers

@michele is right. This task requires another dataset. I believe the datasets are here: http://www.cnts.ua.ac.be/conll2003/ner/

like image 190
Legend Avatar answered Oct 27 '22 11:10

Legend