Natural Language Processing
Rule-Based Matching for NLP using spaCy
Published in
4 min readMar 12, 2021
If you are an NLP enthusiast you know for sure the spaCy library. It’s a powerful library mostly known for word2vec functions. Today we will show a different use of spacy for rule-based matching using the spaCy’s function Matcher.
You may ask, why not just using Regular Expressions?
The answer is Token Attributes.