title: Spacy matcher fails at full stops
body: <p>I am new to spacy and playing around with the following script;</p>
  <pre class="lang-py prettyprint-override"><code>import spacy
  from spacy.language import Language
  from spacy.matcher import Matcher
  
  nlp  = spacy.load('en_core_web_sm')
  text = &quot;Google announced a new Pixel at Google I/O. The Google I/O is a great place to get all the updates from Google I/O.&quot;
  
  def add_event_ent(matcher, doc, i, matches):
      match_id, start, end = matches[i]
      entity = doc[start:end]
      print(entity.text, start, end)
  
  pattern = [[
    {&quot;TEXT&quot;: &quot;Google&quot;}, 
    {&quot;TEXT&quot;: &quot;I&quot;}, 
    {&quot;TEXT&quot;: &quot;/&quot;}, 
    {&quot;TEXT&quot;: &quot;O&quot;}, 
    {&quot;IS_PUNCT&quot;: True, &quot;OP&quot;: &quot;?&quot;}
  ]]
  matcher = Matcher(nlp.vocab)
  matcher.add(&quot;Google&quot;, pattern, on_match = add_event_ent)
  
  doc = nlp(text)
  matcher(doc)
  </code></pre>
  <p>Output:</p>
  <pre><code>Google I/O 11 15
  [(11578853341595296054, 11, 15)]
  </code></pre>
  <p>I would expect this to detect all 3 occurrences of <code>Google I/O</code> but it does not and I'm not fully sure why. I tried a few different things but nothing worked, I think the issue is at the full stop.</p>
  <p>I wrote what is basically the same code snippet with a different text and pattern:</p>
  <pre class="lang-py prettyprint-override"><code>text = &quot;Hello, World! Hello, World! How are you?&quot;
  pattern = [[
    {&quot;LOWER&quot;: &quot;hello&quot;},
    {&quot;IS_PUNCT&quot;: True},
    {&quot;LOWER&quot;: &quot;world&quot;}
  ]]
  matcher = Matcher(nlp.vocab)
  matcher.add(&quot;Google&quot;, pattern, on_match = add_event_ent)
  doc = nlp(text)
  matcher(doc)
  for ent in doc.ents:
    print(f&quot;[ENTITY] {ent.text:{15}} {ent.label_}&quot;)
  print(doc)
  </code></pre>
  <p>Output:</p>
  <pre><code>Hello, World 0 3
  Hello, World 4 7
  Hello, World! Hello, World! How are you?
  </code></pre>
  <p>Which as you can see did work.</p>
  <p>I made <a href="https://explosion.ai/demos/displacy?text=Google%20announced%20a%20new%20Pixel%20at%20Google%20I%2FO.%20The%20Google%20I%2FO%20is%20a%20great%20place%20to%20get%20all%20the%20updates%20from%20Google%20I%2FO.&amp;model=en_core_web_sm&amp;cpu=1&amp;cph=1" rel="nofollow noreferrer">this</a> viz for the first example in case it helps and <a href="https://explosion.ai/demos/matcher?text=Google%20announced%20a%20new%20Pixel%20at%20Google%20I%2FO.%20The%20Google%20I%2FO%20is%20a%20great%20place%20to%20get%20all%20the%20updates%20from%20Google%20I%2FO.&amp;model=en_core_web_sm&amp;pattern=%5B%7B%22id%22%3A3%2C%22attrs%22%3A%5B%7B%22name%22%3A%22LOWER%22%2C%22value%22%3A%22google%22%7D%5D%7D%2C%7B%22id%22%3A4%2C%22attrs%22%3A%5B%7B%22name%22%3A%22LOWER%22%2C%22value%22%3A%22i%22%7D%5D%7D%2C%7B%22id%22%3A5%2C%22attrs%22%3A%5B%7B%22name%22%3A%22LOWER%22%2C%22value%22%3A%22%2F%22%7D%5D%7D%2C%7B%22id%22%3A6%2C%22attrs%22%3A%5B%7B%22name%22%3A%22LOWER%22%2C%22value%22%3A%22o%22%7D%5D%7D%5D" rel="nofollow noreferrer">this</a> which shows that it does not work but again I am unsure why.</p>
  <p>Any help is appreciated and let me know if I can provide more information!</p>