You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -39,7 +39,7 @@ At present, [the current released version of the code](https://stanfordnlp.githu
39
39
40
40
1. Make sure you have Maven installed, details here: [https://maven.apache.org/](https://maven.apache.org/)
41
41
2. If you run this command in the CoreNLP directory: `mvn package` , it should run the tests and build this jar file: `CoreNLP/target/stanford-corenlp-4.3.1.jar`
42
-
3. When using the latest version of the code make sure to download the latest versions of the [corenlp-models](http://nlp.stanford.edu/software/stanford-corenlp-models-current.jar), [english-models](http://nlp.stanford.edu/software/stanford-english-corenlp-models-current.jar), and [english-models-kbp](http://nlp.stanford.edu/software/stanford-english-kbp-corenlp-models-current.jar) and include them in your CLASSPATH. If you are processing languages other than English, make sure to download the latest version of the models jar for the language you are interested in.
42
+
3. When using the latest version of the code make sure to download the latest versions of the [corenlp-models](http://nlp.stanford.edu/software/stanford-corenlp-models-current.jar), [english-extra-models](http://nlp.stanford.edu/software/stanford-english-extra-corenlp-models-current.jar), and [english-kbp-models](http://nlp.stanford.edu/software/stanford-english-kbp-corenlp-models-current.jar) and include them in your CLASSPATH. If you are processing languages other than English, make sure to download the latest version of the models jar for the language you are interested in.
43
43
4. If you want to use Stanford CoreNLP as part of a Maven project you need to install the models jars into your Maven repository. Below is a sample command for installing the Spanish models jar. For other languages just change the language name in the command. To install `stanford-corenlp-models-current.jar` you will need to set `-Dclassifier=models`. Here is the sample command for Spanish: `mvn install:install-file -Dfile=/location/of/stanford-spanish-corenlp-models-current.jar -DgroupId=edu.stanford.nlp -DartifactId=stanford-corenlp -Dversion=4.2.2 -Dclassifier=models-spanish -Dpackaging=jar`
44
44
45
45
#### Models
@@ -50,23 +50,37 @@ Some of the larger (English) models -- like the shift-reduce parser and WikiDict
50
50
These require downloading the English (extra) and English (kbp) jars. Resources for other languages require usage of the corresponding
51
51
models jar.
52
52
53
+
The best way to get the models is to use git-lfs and clone them from Hugging Face Hub.
54
+
55
+
For instance, to get the French models, run the following commands:
| Chinese |[download](https://huggingface.co/stanfordnlp/corenlp-chinese/resolve/main/stanford-corenlp-models-chinese.jar)[(mirror)](https://nlp.stanford.edu/software/stanford-corenlp-4.3.1-models-chinese.jar)| 4.3.1 |
57
-
| English (extra) |[download](https://huggingface.co/stanfordnlp/corenlp-english-extra/resolve/main/stanford-corenlp-models-english-extra.jar)[(mirror)](https://nlp.stanford.edu/software/stanford-corenlp-4.3.1-models-english.jar)| 4.3.1 |
58
-
| English (KBP) |[download](https://huggingface.co/stanfordnlp/corenlp-english-kbp/resolve/main/stanford-corenlp-models-english-kbp.jar)[(mirror)](https://nlp.stanford.edu/software/stanford-corenlp-4.3.1-models-english-kbp.jar)| 4.3.1 |
59
-
| French |[download](https://huggingface.co/stanfordnlp/corenlp-french/resolve/main/stanford-corenlp-models-french.jar)[(mirror)](https://nlp.stanford.edu/software/stanford-corenlp-4.3.1-models-french.jar)| 4.3.1 |
60
-
| German |[download](https://huggingface.co/stanfordnlp/corenlp-german/resolve/main/stanford-corenlp-models-german.jar)[(mirror)](https://nlp.stanford.edu/software/stanford-corenlp-4.3.1-models-german.jar)| 4.3.1 |
| Italian |[download](https://huggingface.co/stanfordnlp/corenlp-italian/resolve/main/stanford-corenlp-models-italian.jar)[(mirror)](https://nlp.stanford.edu/software/stanford-corenlp-4.3.1-models-italian.jar)| 4.3.1 |
0 commit comments