Closed taissirboukrouba closed 2 months ago
Custom NER should be returning MATH_FUNC for mathematical functions but it's returning GPE instead
MATH_FUNC
GPE
The custom NER had to be put before the original SpaCy NER in the pipeline so it doesn't overlap. code : nlp.add_pipe("parsing_math_entities",before="ner")
nlp.add_pipe("parsing_math_entities",before="ner")
Custom NER should be returning
MATH_FUNC
for mathematical functions but it's returningGPE
instead