mirror of
https://github.com/explosion/spaCy.git
synced 2025-08-06 13:20:20 +03:00
Update spacy/cli/apply.py
Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com>
This commit is contained in:
parent
cdb40c9af9
commit
506508ac1c
|
@ -44,7 +44,7 @@ def _stream_docbin(path: Path, vocab: Vocab) -> Iterable[Doc]:
|
|||
yield doc
|
||||
|
||||
|
||||
def _stream_jsonl(path: Path, field) -> Iterable[str]:
|
||||
def _stream_jsonl(path: Path, field: str) -> Iterable[str]:
|
||||
"""
|
||||
Stream "text" field from JSONL. If the field "text" is
|
||||
not found it raises error.
|
||||
|
|
Loading…
Reference in New Issue
Block a user