downloadCoreNLP: Download java files needed for coreNLP
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
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
Run this codeif (FALSE) {
downloadCoreNLP()
downloadCoreNLP(type="spanish")
}
Run the code above in your browser using DataLab