if (FALSE) {
# install spaCy in a miniconda environment (macOS and Linux)
spacy_install(lang_models = c("en_core_web_sm", "de_core_news_sm"), prompt = FALSE)
# install spaCy to an existing conda environment
spacy_install(conda = "~/anaconda/bin/")
}
if (FALSE) {
# install spaCy in a virtualenv environment
spacy_install_virtualenv(lang_models = c("en_core_web_sm"))
}
Run the code above in your browser using DataLab