mirror of
https://github.com/explosion/spaCy.git
synced 2025-04-25 19:33:42 +03:00
Try fixing unicode inconsistencies on Python 2
This commit is contained in:
parent
d957d7a697
commit
ae09b6a6cf
|
@ -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
|
"|".join("(?:{})".format(m) for m in _regular_exp), re.IGNORECASE, re.UNICODE
|
||||||
).match
|
).match
|
||||||
|
|
Loading…
Reference in New Issue
Block a user