Fix docbin

This commit is contained in:
Matthew Honnibal 2020-06-20 15:56:05 +02:00
parent 476bcd4c53
commit 91fa2f1126

View File

@ -60,7 +60,7 @@ class DocBin(object):
self.strings = set()
self.store_user_data = store_user_data
for doc in docs:
self.add(docs)
self.add(doc)
def __len__(self):
"""RETURNS: The number of Doc objects added to the DocBin."""