mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 17:36:30 +03:00
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:
parent
7496e03a2c
commit
68b85ea950
|
@ -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]
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue
Block a user