diff --git a/spacy/tokens/_serialize.py b/spacy/tokens/_serialize.py index d480a2068..73c857d1f 100644 --- a/spacy/tokens/_serialize.py +++ b/spacy/tokens/_serialize.py @@ -129,7 +129,6 @@ class DocBin: if span.id in span.doc.vocab.strings: self.strings.add(span.id_) - def get_docs(self, vocab: Vocab) -> Iterator[Doc]: """Recover Doc objects from the annotations, using the given vocab. Note that the user data of each doc will be read (if available) and returned,