              partials.resize(q)
              for i in range(self.n_patterns):
                  state = self.patterns[i]
                  if match(state, token):
                      print 'match!'
                      if is_final(state):
                          matches.append(get_entity(state, token, token_i))
                      else:
                          partials.push_back(state + 1)
          doc.ents = [(e.label, e.start, e.end) for e in doc.ents] + matches
 
</s> remove                     print 'match!'
 </s> add  </s> remove             print 'check', doc[token_i].orth_
 </s> add  </s> remove             print "Pattern fail", pattern.spec[i].attr, pattern.spec[i].value
            print get_token_attr(token, pattern.spec[i].attr)
 </s> add  </s> remove             print "Converted", converted[-1]
 </s> add 
              partials.resize(q)
              for i in range(self.n_patterns):
                  state = self.patterns[i]
                  if match(state, token):

                      if is_final(state):
                          matches.append(get_entity(state, token, token_i))
                      else:
                          partials.push_back(state + 1)
          doc.ents = [(e.label, e.start, e.end) for e in doc.ents] + matches
keep keep keep keep replace keep keep keep keep keep
 * Fix print statements in matcher 
spacy/matcher.pyx