There's not a built-in method, but you can get approximate confidence using the code posted here:
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Displaying a confidence score next to a user-defined entity | 20 | 10528 | August 15, 2021 | |
| Using spancat for ner confidence scores | 7 | 1883 | August 10, 2022 | |
| Accessing probabilities in NER | 4 | 8422 | April 5, 2018 | |
| prefer_uncertain in ner.teach? | 2 | 1137 | September 7, 2017 | |
| Level of confidence in NER | 3 | 875 | April 18, 2018 |