View source: R/spacy_langmodel_functions.R
| spacy_download_langmodel | R Documentation | 
Download spaCy language models
spacy_download_langmodel(lang_models = "en_core_web_sm", force = FALSE)
| lang_models | character; language models to be installed. Defaults
 | 
| force | ignore if spaCy/the lang_models is already present and install it anyway. | 
Invisibly returns the installation log.
## Not run: 
# install medium sized model
spacy_download_langmodel("en_core_web_md")
#' # install several models with spaCy
spacy_install(lang_models = c("en_core_web_sm", "de_core_news_sm"))
# install transformer based model
spacy_download_langmodel("en_core_web_trf")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.