spacy_download_langmodel {spacyr} | R Documentation |
Download spaCy language models
Description
Download spaCy language models
Usage
spacy_download_langmodel(lang_models = "en_core_web_sm", force = FALSE)
Arguments
lang_models |
character; language models to be installed. Defaults
|
force |
ignore if spaCy/the lang_models is already present and install it anyway. |
Value
Invisibly returns the installation log.
Examples
## 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)
[Package spacyr version 1.3.0 Index]