View source: R/spacy_langmodel_functions.R
Installs one or more language models in a conda or virtualenv Python virtual
environment as installed by spacy_install
.
1 2 3 4 5 6 7 8 9 10 11 | spacy_download_langmodel(
model = "en",
envname = "spacy_condaenv",
conda = "auto"
)
spacy_download_langmodel_virtualenv(
model = "en",
envname = "spacy_virtualenv",
virtualenv_root = NULL
)
|
model |
name of the language model to be installed. A list of available language models and their names is available from the spaCy language models page. |
envname |
name of the virtual environment |
conda |
Path to conda executable. Default |
virtualenv_root |
path to the virtualenv environment to install spaCy
language model. If |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.