mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-12 18:26:30 +03:00
Return self in Tokenizer.from_bytes
This commit is contained in:
parent
82154a1861
commit
0153b66a86
|
@ -392,3 +392,4 @@ cdef class Tokenizer:
|
|||
self.token_match = re.compile(data['token_match']).search
|
||||
for string, substrings in data.get('rules', {}).items():
|
||||
self.add_special_case(string, substrings)
|
||||
return self
|
||||
|
|
Loading…
Reference in New Issue
Block a user