cnlp_init_spacy | R Documentation |
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_core_web_sm" (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_core_web_sm")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.