mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-11 04:08:09 +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
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue
Block a user