Setups and initalizes the spacyr package to work in Google Colab. Please ensure you have installed Anaconda using setup_anaconda first and have installed the spacyr package.
1 | setup_spacyr(env = "r-reticulate", lang_models = "en_core_web_sm")
|
env |
A string name for the conda environment. Default is called 'r-reticulate'. |
lang_models |
The language package for loading spaCy. Default is 'en_core_web_sm' (English). For more models and languages, go to spacy.io/usage/models. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.