n-best POS tags #8828
sjmielke
started this conversation in
New Features & Project Ideas
n-best POS tags
#8828
Replies: 2 comments
-
I've been thinking about this recently, especially in context of the parser and NER. Currently, here's what I would recommend:
Maybe the tagger, parser etc should support an optional callback. This would be tricky on the parser because of the multi-threading, but easy on the tagger. If we make the callback take |
Beta Was this translation helpful? Give feedback.
0 replies
-
If nobody is working on this, I'd like to contribute. @honnibal |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Does the option to output n-best POS tags (or even all tags with score > 0) exist with some hidden option or in some branch?
If not, would such an additional function be welcome or should I just hack it into my own fork? Technically it should be very easy (basically just replace the
arg_max_if_true
inspacy/tagger.pyx#L211
with an appropriate collection of results), but I have a feeling it will be more difficult to expose it nicely...Beta Was this translation helpful? Give feedback.
All reactions