  
  _nums = r"(({d})|({dn})|({te})|({on})|({n})|({ro})|({rn}))({inf})?".format(d=_date, dn=_dash_num, te=_time_exp, on=_ord_num, n=_num, ro=_roman_ord, rn=_roman_num, inf=_inflections)
  
  TOKENIZER_EXCEPTIONS = _exc
 
</s> remove for orth in ["Dr.", "yy."]:
    _exc[orth] = [{ORTH: orth}]
 </s> add for abbr in _abbr_period_exc:
    _exc[abbr[ORTH]] = [abbr] </s> remove from .tokenizer_exceptions import TOKENIZER_EXCEPTIONS
 </s> add from .tokenizer_exceptions import TOKENIZER_EXCEPTIONS, TOKEN_MATCH
TOKEN_MATCH = re.compile(r"^({abbr})|({n})$".format(n=_nums, abbr=_abbrev_inflected)).match
  
  _nums = r"(({d})|({dn})|({te})|({on})|({n})|({ro})|({rn}))({inf})?".format(d=_date, dn=_dash_num, te=_time_exp, on=_ord_num, n=_num, ro=_roman_ord, rn=_roman_num, inf=_inflections)
  
  TOKENIZER_EXCEPTIONS = _exc
TOKEN_MATCH = re.compile(r"^({abbr})|({n})$".format(n=_nums, abbr=_abbrev_inflected)).match
keep keep keep add
 Turkish tokenization improvements (#6268)

* added single and paired orth variants

* added token match

* added long text tokenization test

* inverted init

* normalized lemmas to lowercase

* more abbrevs

* tests for ordinals and abbrevs

* separated period abbvrevs to another list

* fiex typo

* added ordinal and abbrev tests

* added number tests for dates

* minor refinement

* added inflected abbrevs regex

* added percentage and inflection

* cosmetics

* added token match

* added url inflection tests

* excluded url tokens from custom pattern

* removed url match import 
spacy/lang/tr/tokenizer_exceptions.py