mirror of
https://github.com/explosion/spaCy.git
synced 2025-02-11 09:00:36 +03:00
Fix docbin
This commit is contained in:
parent
476bcd4c53
commit
91fa2f1126
|
@ -60,7 +60,7 @@ class DocBin(object):
|
||||||
self.strings = set()
|
self.strings = set()
|
||||||
self.store_user_data = store_user_data
|
self.store_user_data = store_user_data
|
||||||
for doc in docs:
|
for doc in docs:
|
||||||
self.add(docs)
|
self.add(doc)
|
||||||
|
|
||||||
def __len__(self):
|
def __len__(self):
|
||||||
"""RETURNS: The number of Doc objects added to the DocBin."""
|
"""RETURNS: The number of Doc objects added to the DocBin."""
|
||||||
|
|
Loading…
Reference in New Issue
Block a user