This commit is contained in:
Adriane Boyd 2023-04-03 14:04:59 +02:00
parent 7c80c4e5aa
commit 39eeb18f74

View File

@ -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,