spaCy get confidence on entity classification?

ner
spacy

(ISRAEL CAMPIOTTI) #1

Anybody can help on how to get the confidence of ner classification? Is there a way to do this?


(Andy Halterman) #2

There’s not a built-in method, but you can get approximate confidence using the code posted here:


(Matthew Honnibal) #3

Thanks Andy! Yes that’s correct, that’s the best current code to get entity scores at the moment.