mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-26 17:24:41 +03:00
Fix DocBin
This commit is contained in:
parent
4bbbb41bf8
commit
105cf29967
|
@ -50,7 +50,7 @@ class DocBin:
|
||||||
self,
|
self,
|
||||||
attrs: Iterable[str] = ALL_ATTRS,
|
attrs: Iterable[str] = ALL_ATTRS,
|
||||||
store_user_data: bool = False,
|
store_user_data: bool = False,
|
||||||
docs=Iterable[Doc],
|
docs: Iterable[Doc]=[],
|
||||||
) -> None:
|
) -> None:
|
||||||
"""Create a DocBin object to hold serialized annotations.
|
"""Create a DocBin object to hold serialized annotations.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user