Why I am getting this error Can anyone tell please or explain me how to use it using simple example
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
/tmp/ipykernel_33/3577035061.py in <module>
6 # Matcher class object
7 matcher = Matcher(nlp.vocab)
----> 8 matcher.add("matching_1", None, pattern)
9
10 matches = matcher(doc)
/opt/conda/lib/python3.7/site-packages/spacy/matcher/matcher.pyx in spacy.matcher.matcher.Matcher.add()
TypeError: add() takes exactly 2 positional arguments (3 given)
In Below link
https://spacy.io/api/matcher


