Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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(s)

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

Examples

## Not run: 
cnlp_init_corenlp()

## End(Not run)

cleanNLP

A Tidy Data Model for Natural Language Processing

v3.0.3
LGPL-2
Authors
Taylor B. Arnold [aut, cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.