jiesutd / NCRFpp

NCRF++, a Neural Sequence Labeling Toolkit. Easy use to any sequence labeling tasks (e.g. NER, POS, Segmentation). It includes character LSTM/CNN, word LSTM/CNN and softmax/CRF components.
Apache License 2.0
1.89k stars 446 forks source link

about pos tag #140

Closed mingroad closed 5 years ago

mingroad commented 5 years ago

hi, best wishes to you! i have a question about pos labeling. now you give a tag format(BIO, BMES,BIOES), but for ner,chunking etc on. so for pos, what is that? it seems no support. if it support, can you give a sample? data format samples? thanks.

jiesutd commented 5 years ago

You can just use the original pos tags.

The only difference is to set seg=False in the config file.

Details are here: https://github.com/jiesutd/NCRFpp/blob/master/readme/Configuration.md

mingroad commented 5 years ago

谢谢,在确认一疑问,关于结果评价实现metric.py,看到是针对BIO, BMES,BIOES的,关于pos这类原始标签类别,是否支持?看到您文章你有做这方面的结果,还是需要另实现?

jiesutd commented 5 years ago

不需要自己实现,会自动计算模型准确度accuracy的。