I have pre annotated with spacy with Entity Ruler for building a model in Prodigy but some of the patterns cannot be identified by the ruler.
Ex: pattern = [{'label': 'A', 'pattern': [{'LOWER': 'PP'}]}]
It is seen that it didnot find the entity? what's the reason behind it? I have used below lines for the ruler:
nlp = spacy.blank("en")
ruler = nlp.add_pipe('entity_ruler')
ruler.add_patterns(pattern)