setup_spacyr: Setup spacyr to work in Google Colab

Description Usage Arguments

View source: R/spacyr.R

Description

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.

Usage

1
setup_spacyr(env = "r-reticulate", lang_models = "en_core_web_sm")

Arguments

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.


hansquiogue/colabr documentation built on Feb. 14, 2021, 6:12 p.m.