dependencies {
implementation group: 'org.apache.opennlp', name: 'opennlp-tools', version: '2.3.0'
}
Apache OpenNLP is also distributed via the Maven Central Repository. The maven artifacts are located here. The Apache OpenNLP project publishes the library, javadoc and source code jars. To use OpenNLP in your Gradle project, specify exactly one of the following dependencies, all transient dependencies are resolved automatically.
To use the OpenNLP Tools define the following dependency:
dependencies {
implementation group: 'org.apache.opennlp', name: 'opennlp-tools', version: '2.3.0'
}
To use the OpenNLP DL define the following dependency:
dependencies {
implementation group: 'org.apache.opennlp', name: 'opennlp-dl', version: '2.3.0'
}
To use the OpenNLP UIMA Annotators define the following dependency:
dependencies {
implementation group: 'org.apache.opennlp', name: 'opennlp-uima', version: '2.3.0'
}
To use the OpenNLP Morfologik-Addon define the following dependency:
dependencies {
implementation group: 'org.apache.opennlp', name: 'opennlp-morfologik-addon', version: '2.3.0'
}
To use the OpenNLP UIMA Annotators define the following dependency:
dependencies {
implementation group: 'org.apache.opennlp', name: 'opennlp-brat-annotator', version: '2.3.0'
}
To use the current version of the main branch define the following dependency:
dependencies { implementation group: 'org.apache.opennlp', name: 'opennlp-tools', version: '2.2.1-SNAPSHOT' }
Note
|
The SNAPSHOT dependency requires the following Maven repository in your Gradle project:
|
https://repository.apache.org/content/repositories/snapshots/