mirror of
https://github.com/explosion/spaCy.git
synced 2025-04-21 17:41:59 +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):
|
||||
pass
|
||||
elif (
|
||||
self.token_match and self.token_match(string) or
|
||||
self.url_match and self.url_match(string)
|
||||
(self.token_match and self.token_match(string)) or
|
||||
(self.url_match and self.url_match(string))
|
||||
):
|
||||
|
||||
# We're always saying 'no' to spaces here -- the caller will
|
||||
|
|
Loading…
Reference in New Issue
Block a user