First of all, thanks for the amazing tool.
I have created a ner model using ner.teach recipe. The next step I do is take this model and apply it over incoming records to predict each record with a label based on the entities present in it along with its score.
The highlighted words are the ones i have tagged as entities. while training the model in prodigy.
I have 2 questions.
- How to I return a single label for each record and not a label every time a entity appears
- How do I associate each predicted label with a score or probability which would be another column named score.?
Since ner.teach associates a score while it is being annotated. Is there a way to give a probability for each prediction?
I have just started using spacy. Any help would be much appreciated.