dependencies {
implementation group: 'org.apache.opennlp', name: 'opennlp-tools', version: '2.5.1'
}
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.5.1'
}
To use the OpenNLP Tools Models define the following dependency:
dependencies {
implementation group: 'org.apache.opennlp', name: 'opennlp-tools-models', version: '2.5.1'
}
To use the OpenNLP DL define the following dependency:
dependencies {
implementation group: 'org.apache.opennlp', name: 'opennlp-dl', version: '2.5.1'
}
To use the OpenNLP DL GPU define the following dependency:
dependencies {
implementation group: 'org.apache.opennlp', name: 'opennlp-dl-gpu', version: '2.5.1'
}
To use the OpenNLP UIMA Annotators define the following dependency:
dependencies {
implementation group: 'org.apache.opennlp', name: 'opennlp-uima', version: '2.5.1'
}
To use the OpenNLP Morfologik-Addon define the following dependency:
dependencies {
implementation group: 'org.apache.opennlp', name: 'opennlp-morfologik-addon', version: '2.5.1'
}
To use the current version of the main branch define the following dependency:
dependencies { implementation group: 'org.apache.opennlp', name: 'opennlp-tools', version: '2.5.1-SNAPSHOT' }
Note
|
All SNAPSHOT dependencies require the following Maven repository:
|
https://repository.apache.org/content/repositories/snapshots/