downloadCoreNLP: Download java files needed for coreNLP

Description Usage Arguments Details Examples

Description

The coreNLP package does not supply the raw java files provided by the Stanford NLP Group as they are quite large. This function downloads the libraries for you, by default into the directory where the package was installed.

Usage

1
2
downloadCoreNLP(outputLoc, type = c("base", "chinese", "english", "french",
  "german", "spanish"))

Arguments

outputLoc

a string showing where the files are to be downloaded. If missing, will try to download files into the directory where the package was original installed.

type

type of files to download. The base backage, installed by default is required. Other jars include chinese, german, and spanish. These will be installed in addition to the base package.

Details

If you want to manually download files, simply unzip them and place in system.file("extdata",package="coreNLP")

Examples

1
2
3
4
5
## Not run: 
downloadCoreNLP()
downloadCoreNLP(type="spanish")

## End(Not run)

statsmaths/coreNLP documentation built on May 30, 2019, 10:41 a.m.