mirror of
https://github.com/explosion/spaCy.git
synced 2025-08-07 13:44:55 +03:00
remove debug
This commit is contained in:
parent
cf2c073fcc
commit
2525473c20
|
@ -30,7 +30,6 @@ def _stream_docbin(path: Path, vocab: Vocab) -> Iterable[Doc]:
|
|||
"""
|
||||
Stream Doc objects from DocBin.
|
||||
"""
|
||||
input(path)
|
||||
docbin = DocBin().from_disk(path)
|
||||
for doc in docbin.get_docs(vocab):
|
||||
yield doc
|
||||
|
@ -61,7 +60,6 @@ def _maybe_read_text(path: Path) -> Union[str, None]:
|
|||
return text
|
||||
except UnicodeDecodeError as e:
|
||||
msg.warn(f"Skipping file {path}")
|
||||
print(e)
|
||||
return None
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user