cleanNLP (version 3.0.3)

cnlp_init_corenlp: 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

Taylor B. Arnold, taylor.arnold@acm.org

Examples

Run this code
if (FALSE) {
cnlp_init_corenlp()
}

Run the code above in your browser using DataCamp Workspace