richardpaulhudson / coreferee

Coreference resolution for English, French, German and Polish, optimised for limited training data and easily extensible for further languages
MIT License
102 stars 16 forks source link

How can I know how confident the model is for a specific mention? #3

Closed PAHXO closed 2 years ago

PAHXO commented 2 years ago

To explain better, I want to check certainty in a percentage of a specific coreference. I am sorry, if that feature is already present in the code, but I dug up, and could not find something that I could use myself.

Examples:

"Peter and Jane went to the park. He forgot to bring his phone."

Mension : "He", Reference: "Peter", Confidence: "92%"

"Peter went to the park. He forgot to bring his phone."

Mension : "He", Reference: "Peter", Confidence: "99%"

Pantalaymon commented 2 years ago

Hi !

I think the answer of Richard in this thread answers your question

PAHXO commented 2 years ago

Thanks, I'll check this up!