cnlp_init_corenlp {cleanNLP} | R Documentation |
Interface for initializing the coreNLP backend
Description
This function must be run before annotating text with the coreNLP backend. It sets the properties for the spacy engine and loads the file using the R to Python interface provided by reticulate.
Usage
cnlp_init_corenlp(lang = NULL, models_dir = NULL, config = NULL)
Arguments
lang |
string giving the language name for the corenlp backend. Defaults to "en" (English) if set to NULL. |
models_dir |
directory where model files are located. Set to NULL to use the default. |
config |
An optional named list to be converted to a Python dictionary. |
Author(s)
Taylor B. Arnold, taylor.arnold@acm.org
Examples
## Not run:
cnlp_init_corenlp()
## End(Not run)
[Package cleanNLP version 3.0.7 Index]