From a5231cb044ed65e75b83ec19685436d9e897ae7d Mon Sep 17 00:00:00 2001 From: Adriane Boyd Date: Mon, 11 Oct 2021 11:13:35 +0200 Subject: [PATCH] Remove traces of lexemes from vocab serialization (#9400) --- spacy/vocab.pyx | 1 - website/docs/api/vocab.md | 1 - 2 files changed, 2 deletions(-) diff --git a/spacy/vocab.pyx b/spacy/vocab.pyx index 13dd675af..7af780457 100644 --- a/spacy/vocab.pyx +++ b/spacy/vocab.pyx @@ -530,7 +530,6 @@ cdef class Vocab: setters = { "strings": lambda b: self.strings.from_bytes(b), - "lexemes": lambda b: self.lexemes_from_bytes(b), "vectors": lambda b: serialize_vectors(b), "lookups": lambda b: self.lookups.from_bytes(b), } diff --git a/website/docs/api/vocab.md b/website/docs/api/vocab.md index 40a3c3b22..c37b27a0e 100644 --- a/website/docs/api/vocab.md +++ b/website/docs/api/vocab.md @@ -325,6 +325,5 @@ serialization by passing in the string names via the `exclude` argument. | Name | Description | | --------- | ----------------------------------------------------- | | `strings` | The strings in the [`StringStore`](/api/stringstore). | -| `lexemes` | The lexeme data. | | `vectors` | The word vectors, if available. | | `lookups` | The lookup tables, if available. |