mirror of
https://github.com/explosion/spaCy.git
synced 2025-08-05 12:50:20 +03:00
Format
This commit is contained in:
parent
7c80c4e5aa
commit
39eeb18f74
|
@ -129,7 +129,6 @@ class DocBin:
|
||||||
if span.id in span.doc.vocab.strings:
|
if span.id in span.doc.vocab.strings:
|
||||||
self.strings.add(span.id_)
|
self.strings.add(span.id_)
|
||||||
|
|
||||||
|
|
||||||
def get_docs(self, vocab: Vocab) -> Iterator[Doc]:
|
def get_docs(self, vocab: Vocab) -> Iterator[Doc]:
|
||||||
"""Recover Doc objects from the annotations, using the given vocab.
|
"""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,
|
Note that the user data of each doc will be read (if available) and returned,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user