Interface for initializing the spacy backend
This function must be run before annotating text with the spacy backend. It sets the properties for the spacy engine and loads the file using the R to Python interface provided by reticulate.
cnlp_init_spacy(model_name = NULL, disable = NULL, max_length = NULL)
model_name |
string giving the model name for the spacy backend. Defaults to "en" (English) if set to NULL. |
disable |
an optional vector of pipes to disable. |
max_length |
amount of temporary memory provided to Spacy, in characters. The default of 1000000 should work for most applications, but can be increased when working with long documents. |
Taylor B. Arnold, taylor.arnold@acm.org
## Not run: cnlp_init_spacy(model_name = "en") ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.