download_core_nlp: Download java files needed for CoreNLP
Description
The cleanNLP package does not supply the raw java files
provided by the Stanford NLP Group as they are quite large.
This function downloads the libraries automatically, by default into
the directory where the package was installed. These are not
required for using the spaCy Python implementation.
type of files to download. The base backage is always required.
Other jars include model files for French, German,
and Spanish. These can be installed in addition to the
base package. By default, the function downloads the base
package and English model files.
output_loc
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.
url
the url to try to download components from. Setting to NULL
uses the default location on the Stanford NLP server, but
you can set this manually by using this option. It also allows
for local files, but note that the path must include the prefix
file://. For details, see download.file.
url_core
if url is not null, this flag indicates whehter the path
given to url points to the core nlp files (which are zipped) or
to model files (which are unzipped).