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
b5e08e24bd
commit
cdb40c9af9
|
@ -86,7 +86,7 @@ def apply_cli(
|
||||||
Apply a trained pipeline to documents to get predictions.
|
Apply a trained pipeline to documents to get predictions.
|
||||||
Expects a loadable spaCy pipeline and path to the data, which
|
Expects a loadable spaCy pipeline and path to the data, which
|
||||||
can be a directory or a file.
|
can be a directory or a file.
|
||||||
The data files can be provided multiple formats:
|
The data files can be provided in multiple formats:
|
||||||
1. .spacy files
|
1. .spacy files
|
||||||
2. .jsonl files with a specified "field" to read the text from.
|
2. .jsonl files with a specified "field" to read the text from.
|
||||||
3. Files with any other extension are assumed to be containing
|
3. Files with any other extension are assumed to be containing
|
||||||
|
|
Loading…
Reference in New Issue
Block a user