From fa7314b221b054408dc435072daf8707b4838bb5 Mon Sep 17 00:00:00 2001 From: Ines Montani Date: Thu, 7 Mar 2019 12:23:27 +0100 Subject: [PATCH] Clarify train_path and dev_path format (see #3366) [ci skip] --- website/docs/api/cli.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/docs/api/cli.md b/website/docs/api/cli.md index 8882da09a..ee4c3787b 100644 --- a/website/docs/api/cli.md +++ b/website/docs/api/cli.md @@ -186,8 +186,8 @@ $ python -m spacy train [lang] [output_path] [train_path] [dev_path] | ----------------------------------------------------- | ------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `lang` | positional | Model language. | | `output_path` | positional | Directory to store model in. Will be created if it doesn't exist. | -| `train_path` | positional | Location of JSON-formatted training data. | -| `dev_path` | positional | Location of JSON-formatted development data for evaluation. | +| `train_path` | positional | Location of JSON-formatted training data. Can be a file or a directory of files. | +| `dev_path` | positional | Location of JSON-formatted development data for evaluation. Can be a file or a directory of files. | | `--base-model`, `-b` | option | Optional name of base model to update. Can be any loadable spaCy model. | | `--pipeline`, `-p` 2.1 | option | Comma-separated names of pipeline components to train. Defaults to `'tagger,parser,ner'`. | | `--vectors`, `-v` | option | Model to load vectors from. |