mirror of
https://github.com/explosion/spaCy.git
synced 2025-07-07 13:26:02 +03:00
Readded parentheses.
This commit is contained in:
parent
56c1fd00eb
commit
3583f94dab
|
@ -456,8 +456,8 @@ cdef class Tokenizer:
|
||||||
if self._try_specials_and_cache(hash_string(string), tokens, has_special, with_special_cases):
|
if self._try_specials_and_cache(hash_string(string), tokens, has_special, with_special_cases):
|
||||||
pass
|
pass
|
||||||
elif (
|
elif (
|
||||||
self.token_match and self.token_match(string) or
|
(self.token_match and self.token_match(string)) or
|
||||||
self.url_match and self.url_match(string)
|
(self.url_match and self.url_match(string))
|
||||||
):
|
):
|
||||||
|
|
||||||
# We're always saying 'no' to spaces here -- the caller will
|
# We're always saying 'no' to spaces here -- the caller will
|
||||||
|
|
Loading…
Reference in New Issue
Block a user