Getting a copy
Stanford CoreNLPy can be downloaded from the link below. This will download (1) all the code needed to run the models, which is itself largely language-agnostic, and (2) the model files for English to get you started.
Other languages: For working with another (human) language, you need additional model files. We have model files for several other languages, as is show in the table below. For some languages, we have models trained on multiple treebanks, in those cases, we highlight the recommended treebank for that language if you this distinction is not crucial to your applications.
If you want to change the source code and recompile the files, see these instructions.
Previous releases can be found on the release history page.
GitHub: Here is the Stanford CoreNLPy GitHub site.
Steps to setup
This example goes over how to set up CoreNLPy from the latest official release. This example will take you through downloading the package, and running a simple command-line invocation of CoreNLPy.
Prerequisites
- Python 3. We have tested with Python 3.6 and 3.7, but earlier versions of Python 3 might work as well.
- PyTorch 1.0.
- The
lzma
package for reading pretrained word vector files (which is part of Python 3.3 and after).
Steps