stanfordnlp / stanza

Stanford NLP Python library for tokenization, sentence segmentation, NER, and parsing of many human languages
https://stanfordnlp.github.io/stanza/
Other
7.25k stars 888 forks source link

Confidence scores #1349

Open BramVanroy opened 7 months ago

BramVanroy commented 7 months ago

Is your feature request related to a problem? Please describe. It could be fruitful to have access to the confidence of the model in its predictions.

Describe the solution you'd like In an ideal world, confidence scores for everything (i.e. for POS, DEP, MORPH, etc.) on the token level. But I am mostly interested in sentence-level measures, e.g. dependency tree confidence scores for the whole tree.

Describe alternatives you've considered I have not found alternative parsers that give easy access to this feature.

Additional context This is a continuation of our discussion on Twitter: https://twitter.com/stanfordnlp/status/1760026653370331647

AngledLuffa commented 7 months ago

I do not believe this will make it into the next release, which is imminent, but I will work on it next week or the week after if possible.

barrelltech commented 1 week ago

Did this ever get worked on? Is the data available somehow?