Flair: Getting detailed POS tags

Created on 14 Jan 2020  路  4Comments  路  Source: flairNLP/flair

From what I can tell, the POS tagger generates the simpler universal dependencies dataset's tags, which are like NOUN, VERB, etc.

Is there a way to get the more detailed OntoNotes tags, e.g. NNP, VBZ, etc.?

wontfix

Most helpful comment

@rococode the included POS models were trained to universal POS tags. For fine-grained POS, you could train your own models using Flair by following the steps in the tutorial. This would be the quickest way to get this if you have a GPU setup to train models.

I can also train models here and include them with the next release since fine-grained POS tags are a feature that many people could need. However, I am still setting up my new lab (waiting for hardware orders) so it will take some time.

All 4 comments

@rococode the included POS models were trained to universal POS tags. For fine-grained POS, you could train your own models using Flair by following the steps in the tutorial. This would be the quickest way to get this if you have a GPU setup to train models.

I can also train models here and include them with the next release since fine-grained POS tags are a feature that many people could need. However, I am still setting up my new lab (waiting for hardware orders) so it will take some time.

Ok, thanks for the quick reply! I'll try to train my own version then.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

This was just added to master branch and will be part of the upcoming release.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jannenev picture jannenev  路  3Comments

frtacoa picture frtacoa  路  3Comments

mnishant2 picture mnishant2  路  3Comments

happypanda5 picture happypanda5  路  3Comments

inyukwo1 picture inyukwo1  路  3Comments