From 0153b66a861e023ba23dc0d23e6b5a0cc9ca0519 Mon Sep 17 00:00:00 2001 From: ines Date: Sat, 3 Jun 2017 13:26:13 +0200 Subject: [PATCH] Return self in Tokenizer.from_bytes --- spacy/tokenizer.pyx | 1 + 1 file changed, 1 insertion(+) diff --git a/spacy/tokenizer.pyx b/spacy/tokenizer.pyx index 20d2d7a47..a7067f69e 100644 --- a/spacy/tokenizer.pyx +++ b/spacy/tokenizer.pyx @@ -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