mirror of https://github.com/explosion/spaCy.git
Fix flags
This commit is contained in:
parent
ae09b6a6cf
commit
b9c71fc0f0
|
@ -423,5 +423,5 @@ _regular_exp.append(URL_PATTERN)
|
||||||
|
|
||||||
TOKENIZER_EXCEPTIONS = _exc
|
TOKENIZER_EXCEPTIONS = _exc
|
||||||
TOKEN_MATCH = re.compile(
|
TOKEN_MATCH = re.compile(
|
||||||
"|".join("(?:{})".format(m) for m in _regular_exp), re.IGNORECASE, re.UNICODE
|
"|".join("(?:{})".format(m) for m in _regular_exp), re.IGNORECASE | re.UNICODE
|
||||||
).match
|
).match
|
||||||
|
|
Loading…
Reference in New Issue