The example code is given below, you may add one or more entities in this example for training purposes (You may also use a blank model with small examples for demonstration). I am seeking a complete working solution for custom NER model evaluation (precision, recall, f-score), Thanks in advance to all NLP experts.
import spacy
nlp = spacy.load('en_core_web_sm')
example_text = "Agra is famous for Tajmahal, The CEO of Facebook will visit India shortly to meet Murari Mahaseth and to visit Tajmahal"
ner = nlp.get_pipe("ner")
doc = nlp(example_text)
for e in doc.ents:
print(e.text + ' - ' + str(e.start_char) + ' - ' + str(e.end_char) + ' - ' + e.label_ + ' - ' + str(
spacy.explain(e.label_)))