mirror of
https://github.com/explosion/spaCy.git
synced 2025-08-06 05:10:21 +03:00
Update spacy/cli/apply.py
Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com>
This commit is contained in:
parent
506508ac1c
commit
7fdf30b313
|
@ -14,16 +14,16 @@ from ..vocab import Vocab
|
|||
from ..util import ensure_path, load_model
|
||||
|
||||
|
||||
path_help = ("Location of the documents to predict on."
|
||||
"Can be a single file in .spacy format or "
|
||||
".jsonl file and files with other extensions"
|
||||
"are treated as single plain text documents."
|
||||
path_help = ("Location of the documents to predict on. "
|
||||
"Can be a single file in .spacy format or a "
|
||||
".jsonl file. Files with other extensions "
|
||||
"are treated as single plain text documents. "
|
||||
"If a directory is provided "
|
||||
"it is traversed recursively to grab all files to "
|
||||
"be processed. The files can be a mixture of .spacy"
|
||||
"be processed. The files can be a mixture of .spacy, "
|
||||
".jsonl and text files. If .jsonl is provided the "
|
||||
"specified field is going to be grabbed ('text') "
|
||||
"by default.")
|
||||
"specified field is going to be grabbed ('text' "
|
||||
"by default).")
|
||||
out_help = "Path where to save the result .spacy file"
|
||||
code_help = ("Path to Python file with additional "
|
||||
"code (registered functions) to be imported")
|
||||
|
|
Loading…
Reference in New Issue
Block a user