diff --git a/spacy/vocab.pyx b/spacy/vocab.pyx index 952faf17f..d7d27a3e4 100644 --- a/spacy/vocab.pyx +++ b/spacy/vocab.pyx @@ -297,7 +297,7 @@ cdef class Vocab: """ raise NotImplementedError() - def from_bytes(self, bytest_data, **exclude): + def from_bytes(self, bytes_data, **exclude): """Load state from a binary string. bytes_data (bytes): The data to load from. diff --git a/website/docs/api/tokenizer.jade b/website/docs/api/tokenizer.jade index 5c0f69854..87929e91b 100644 --- a/website/docs/api/tokenizer.jade +++ b/website/docs/api/tokenizer.jade @@ -198,7 +198,6 @@ p | attributes. The #[code ORTH] fields of the attributes must | exactly match the string when they are concatenated. - +h(2, "to_disk") Tokenizer.to_disk +tag method @@ -284,7 +283,6 @@ p Load state from a binary string. +cell #[code Tokenizer] +cell The #[code Tokenizer] object. - +h(2, "attributes") Attributes +table(["Name", "Type", "Description"])