|
4 | 4 | [](https://mvnrepository.com/artifact/edu.stanford.nlp/stanford-corenlp)
|
5 | 5 | [](https://twitter.com/stanfordnlp/)
|
6 | 6 |
|
7 |
| -[Stanford CoreNLP](http://stanfordnlp.github.io/CoreNLP/) Provides a set of natural language analysis tools written in Java. It can take raw human language text input and give the base forms of words, their parts of speech, whether they are names of companies, people, etc., normalize and interpret dates, times, and numeric quantities, mark up the structure of sentences in terms of phrases or word dependencies, and indicate which noun phrases refer to the same entities. It was originally developed for English, but now also provides varying levels of support for (Modern Standard) Arabic, (mainland) Chinese, French, German, Hungarian, Italian, and Spanish. Stanford CoreNLP is an integrated framework, which makes it very easy to apply a bunch of language analysis tools to a piece of text. Starting from plain text, you can run all the tools with just two lines of code. Its analyses provide the foundational building blocks for higher-level and domain-specific text understanding applications. Stanford CoreNLP is a set of stable and well-tested natural language processing tools, widely used by various groups in academia, industry, and government. The tools variously use rule-based, probabilistic machine learning, and deep learning components. |
| 7 | +[Stanford CoreNLP](http://stanfordnlp.github.io/CoreNLP/) provides a set of natural language analysis tools written in Java. It can take raw human language text input and give the base forms of words, their parts of speech, whether they are names of companies, people, etc., normalize and interpret dates, times, and numeric quantities, mark up the structure of sentences in terms of syntactic phrases or dependencies, and indicate which noun phrases refer to the same entities. It was originally developed for English, but now also provides varying levels of support for (Modern Standard) Arabic, (mainland) Chinese, French, German, Hungarian, Italian, and Spanish. Stanford CoreNLP is an integrated framework, which makes it very easy to apply a bunch of language analysis tools to a piece of text. Starting from plain text, you can run all the tools with just two lines of code. Its analyses provide the foundational building blocks for higher-level and domain-specific text understanding applications. Stanford CoreNLP is a set of stable and well-tested natural language processing tools, widely used by various groups in academia, industry, and government. The tools variously use rule-based, probabilistic machine learning, and deep learning components. |
8 | 8 |
|
9 | 9 | The Stanford CoreNLP code is written in Java and licensed under the GNU General Public License (v2 or later). Note that this is the full GPL, which allows many free uses, but not its use in proprietary software that you distribute to others.
|
10 | 10 |
|
@@ -38,9 +38,9 @@ At present, [the current released version of the code](https://stanfordnlp.githu
|
38 | 38 | #### Build with Maven
|
39 | 39 |
|
40 | 40 | 1. Make sure you have Maven installed, details here: [https://maven.apache.org/](https://maven.apache.org/)
|
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.5.2.jar` |
| 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.5.4.jar` |
42 | 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 |
| -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.5.2 -Dclassifier=models-spanish -Dpackaging=jar` |
| 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.5.4 -Dclassifier=models-spanish -Dpackaging=jar` |
44 | 44 |
|
45 | 45 | #### Models
|
46 | 46 |
|
@@ -82,23 +82,23 @@ Thank you to [Hugging Face](https://huggingface.co/) for helping with our hostin
|
82 | 82 |
|
83 | 83 | If you don't know Gradle itself, see official site: https://gradle.org
|
84 | 84 |
|
85 |
| -Write the following in your build.gradle according to [Maven Central](https://search.maven.org/artifact/edu.stanford.nlp/stanford-corenlp/4.5.2/jar): |
| 85 | +Write the following in your build.gradle according to [Maven Central](https://search.maven.org/artifact/edu.stanford.nlp/stanford-corenlp/4.5.4/jar): |
86 | 86 |
|
87 | 87 | ```Gradle
|
88 | 88 | dependencies {
|
89 |
| - implementation 'edu.stanford.nlp:stanford-corenlp:4.5.2' |
| 89 | + implementation 'edu.stanford.nlp:stanford-corenlp:4.5.4' |
90 | 90 | }
|
91 | 91 | ```
|
92 | 92 |
|
93 | 93 | If you want to analyse English, add following:
|
94 | 94 |
|
95 | 95 | ```Gradle
|
96 |
| - implementation "edu.stanford.nlp:stanford-corenlp:4.5.2:models" |
97 |
| - implementation "edu.stanford.nlp:stanford-corenlp:4.5.2:models-english" |
98 |
| - implementation "edu.stanford.nlp:stanford-corenlp:4.5.2:models-english-kbp" |
| 96 | + implementation "edu.stanford.nlp:stanford-corenlp:4.5.4:models" |
| 97 | + implementation "edu.stanford.nlp:stanford-corenlp:4.5.4:models-english" |
| 98 | + implementation "edu.stanford.nlp:stanford-corenlp:4.5.4:models-english-kbp" |
99 | 99 | ```
|
100 | 100 |
|
101 |
| -If you use other version, replace "4.5.2" to a version you use. |
| 101 | +If you use another version, replace "4.5.4" to a version you use. |
102 | 102 |
|
103 | 103 | ### Useful resources
|
104 | 104 |
|
|
0 commit comments