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.

Download CoreNLPy 0.1

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.

language treebank   model zip version
Afrikaans AfriBooms download 0.1
Ancient_Greek Perseus download 0.1
Ancient_Greek PROIEL download 0.1
Arabic PADT download 0.1
Armenian ArmTDP download 0.1
Basque BDT download 0.1
Breton KEB download 0.1
Bulgarian BTB download 0.1
Buryat BDT download 0.1
Catalan AnCora download 0.1
Chinese (Traditional) GSD download 0.1
Croatian SET download 0.1
Czech CAC   download 0.1
Czech FicTree   download 0.1
Czech PDT download 0.1
Czech PUD     0.1
Danish DDT download 0.1
Dutch Alpino download 0.1
Dutch LassySmall   download 0.1
English EWT download 0.1
English GUM   download 0.1
English LinES   download 0.1
English PUD     0.1
Estonian EDT download 0.1
Faroese OFT download 0.1
Finnish FTB download 0.1
Finnish PUD download 0.1
Finnish TDT download 0.1
French GSD download 0.1
French Sequoia download 0.1
French Spoken download 0.1
Galician CTG download 0.1
Galician TreeGal   download 0.1
German GSD download 0.1
Gothic PROIEL download 0.1
Greek GDT download 0.1
Hebrew HTB download 0.1
Hindi HDTB download 0.1
Hungarian Szeged download 0.1
Indonesian GSD download 0.1
Irish IDT download 0.1
Italian ISDT download 0.1
Italian PoSTWITA   download 0.1
Japanese GSD download 0.1
Japanese Modern     0.1
Kazakh KTB download 0.1
Korean GSD download 0.1
Korean Kaist download 0.1
Kurmanji MG download 0.1
Latin ITTB download 0.1
Latin Perseus download 0.1
Latin PROIEL download 0.1
Latvian LVTB download 0.1
Naija NSC download 0.1
North Sami Giella download 0.1
Norwegian Bokmaal Bokmaal download 0.1
Norwegian Nynorsk Nynorsk download 0.1
Norwegian Nynorsk NynorskLIA   download 0.1
Old Church Slavonic PROIEL download 0.1
Old French SRCMF download 0.1
Persian Seraji download 0.1
Polish LFG download 0.1
Polish SZ download 0.1
Portuguese Bosque download 0.1
Romanian RRT download 0.1
Russian SynTagRus download 0.1
Russian Taiga   download 0.1
Serbian SET download 0.1
Slovak SNK download 0.1
Slovenian SSJ download 0.1
Slovenian SST download 0.1
Spanish AnCora download 0.1
Swedish LinES   download 0.1
Swedish PUD     0.1
Swedish Talbanken download 0.1
Thai PUD     0.1
Turkish IMST download 0.1
Ukrainian IU download 0.1
Upper_Sorbian UFAL download 0.1
Urdu UDTB download 0.1
Uyghur UDT download 0.1
Vietnamese VTB download 0.1

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