Natural Language Processing with spaCy
Azadeh Mobasher
Principal data scientist
Before start training, ask the following questions:
spaCy
models perform well enough on our data?spaCy
models?spaCy
models perform well enough on our data?Oxford Street
is not correctly classified with a GPE
label:import spacy
nlp = spacy.load("en_core_web_sm")
text = "The car was navigating to the Oxford Street."
doc = nlp(text)
print([(ent.text, ent.label_) for ent in doc.ents])
[('the Oxford Street', 'ORG')]
spaCy
models?
If we need custom model training, we follow these steps:
Natural Language Processing with spaCy