  
  import warnings
  
  from ..attrs cimport ORTH, POS, TAG, DEP, LEMMA, MORPH
  from ..structs cimport TokenC
  from ..tokens.token cimport Token
  from ..tokens.span cimport Span
  from ..typedefs cimport attr_t
 
</s> remove         if self[-1].whitespace_:
 </s> add         if len(self) > 0 and self[-1].whitespace_: </s> remove             self.attr = self.vocab.strings[attr]
 </s> add             self.attr = IDS.get(attr) </s> remove         if match not in seen:
 </s> add         # Skip 0-length matches. (TODO: fix algorithm)
        if match not in seen and matches[i].length > 0:
from ..attrs import IDS
  
  import warnings
  
  from ..attrs cimport ORTH, POS, TAG, DEP, LEMMA, MORPH
from ..attrs import IDS
  from ..structs cimport TokenC
  from ..tokens.token cimport Token
  from ..tokens.span cimport Span
  from ..typedefs cimport attr_t
keep keep keep add keep keep keep keep
 Update develop from master for v3.0.0rc5 (#6811)

* Fix `spacy.util.minibatch` when the size iterator is finished (#6745)

* Skip 0-length matches (#6759)

Add hack to prevent matcher from returning 0-length matches.

* support IS_SENT_START in PhraseMatcher (#6771)

* support IS_SENT_START in PhraseMatcher

* add unit test and friendlier error

* use IDS.get instead

* ensure span.text works for an empty span (#6772)

* Remove unicode_literals

Co-authored-by: Santiago Castro <bryant@montevideo.com.uy>
Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com> 
spacy/matcher/phrasematcher.pyx