Clarify data_path loading for apply CLI command (#13272)

* attempt to clarify additional annotations on .spacy file

* suggestion by Daniël

* pipeline instead of pipe
This commit is contained in:
Sofie Van Landeghem 2024-01-26 12:10:05 +01:00 committed by GitHub
parent 7496e03a2c
commit 68b85ea950
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1296,6 +1296,9 @@ input formats are:
When a directory is provided it is traversed recursively to collect all files.
When loading a .spacy file, any potential annotations stored on the `Doc` that are not overwritten by the pipeline will be preserved.
If you want to evaluate the pipeline on raw text only, make sure that the .spacy file does not contain any annotations.
```bash
$ python -m spacy apply [model] [data-path] [output-file] [--code] [--text-key] [--force-overwrite] [--gpu-id] [--batch-size] [--n-process]
```