mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-24 17:06:29 +03:00
Simplify package command docs
This commit is contained in:
parent
cf0094187e
commit
fa6e3cefbb
|
@ -111,11 +111,9 @@ p
|
||||||
| Generate a #[+a("/docs/usage/models#own-models") model Python package]
|
| Generate a #[+a("/docs/usage/models#own-models") model Python package]
|
||||||
| from an existing model data directory. All data files are copied over,
|
| from an existing model data directory. All data files are copied over,
|
||||||
| and the meta data can be entered directly from the command line. While
|
| and the meta data can be entered directly from the command line. While
|
||||||
| this feature is still experimental, the templates for the
|
| this feature is still experimental, the required file templates are
|
||||||
| #[+src(gh("spacy-dev-resources", "templates/model/setup.py")) setup.py] and
|
| downloaded from #[+src(gh("spacy-dev-resources", "templates/model")) GitHub].
|
||||||
| #[+src(gh("spacy-dev-resources", "templates/model/en_morel_name/__init__.py")) __init__.py]
|
| This means you need to be connected to the internet to use this command.
|
||||||
| are downloaded from GitHub. This means you need to be connected to the
|
|
||||||
| internet to use this command.
|
|
||||||
|
|
||||||
+code(false, "bash").
|
+code(false, "bash").
|
||||||
python -m spacy package [input_dir] [output_dir] [--force]
|
python -m spacy package [input_dir] [output_dir] [--force]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user