You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to analyze a text containing predefined names.
I created a doc = nlp(" my textmentioned above")
I created also a pattern (dictionary) with TEXT as pattern keys.
pattern_periods = [{"TEXT": "Summer 43"},...]
I added these pattern (discretionary) to the matcher.
matcher.add("roman_periods", [pattern_periods])
But when I lauch the matcher:
matches = matcher(doc)
No matches are found.
=> What am I missing?
The text was updated successfully, but these errors were encountered:
Hello!
I am trying to analyze a text containing predefined names.
I created a doc = nlp(" my textmentioned above")
I created also a pattern (dictionary) with TEXT as pattern keys.
pattern_periods = [{"TEXT": "Summer 43"},...]
I added these pattern (discretionary) to the matcher.
matcher.add("roman_periods", [pattern_periods])
But when I lauch the matcher:
matches = matcher(doc)
No matches are found.
=> What am I missing?
The text was updated successfully, but these errors were encountered: