Skip to content
Discussion options

You must be logged in to vote

The dependency parser does not use POS tags. There are three attributes relevant to this discussion:

  1. Dependency relations in the .dep attribute. These are values like nmod, amod, cconj, and come from Universal Dependencies in the pretrained models, but any value can be used.
  2. POS tags in the .pos attribute. These come from Universal Dependencies, and spaCy enforces that (you can't make up new ones).
  3. fine-grained, language-specific tags in the .tag attribute. These can be anything.

You can customize the dependency relation values or the .tag attribute values. However the parser does not use POS tags.

Also, maybe you really do want custom POS tags, but usually it's much easier to use entit…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@saxtell-cb
Comment options

Answer selected by saxtell-cb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat / parser Feature: Dependency Parser
2 participants