title: TypeError: add() takes exactly 2 positional arguments (3 given)
body: <p>Why I am getting this error Can anyone tell please
  or explain me how to use it using simple example</p>
  <pre><code>---------------------------------------------------------------------------
  TypeError                                 Traceback (most recent call last)
  /tmp/ipykernel_33/3577035061.py in &lt;module&gt;
        6 # Matcher class object
        7 matcher = Matcher(nlp.vocab)
  ----&gt; 8 matcher.add(&quot;matching_1&quot;, 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)
  </code></pre>
  <p><a href="https://i.stack.imgur.com/UtrgJ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/UtrgJ.png" alt="enter image description here" /></a></p>
  <p>In Below link
  <a href="https://spacy.io/api/matcher" rel="nofollow noreferrer">https://spacy.io/api/matcher</a>
  <a href="https://i.stack.imgur.com/P0BRd.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/P0BRd.png" alt="enter image description here" /></a></p>