sclera-plugin-opennlp

Add-on that enables Sclera to perform text-processing using the OpenNLP library from within SQL

License

License

GroupId

GroupId

com.scleradb
ArtifactId

ArtifactId

sclera-plugin-opennlp_2.13
Last Version

Last Version

4.0
Release Date

Release Date

Type

Type

jar
Description

Description

sclera-plugin-opennlp
Add-on that enables Sclera to perform text-processing using the OpenNLP library from within SQL
Project URL

Project URL

https://github.com/scleradb/sclera-plugin-opennlp
Project Organization

Project Organization

Sclera, Inc.
Source Code Management

Source Code Management

https://github.com/scleradb/sclera-plugin-opennlp

Download sclera-plugin-opennlp_2.13

How to add to project

<!-- https://jarcasting.com/artifacts/com.scleradb/sclera-plugin-opennlp_2.13/ -->
<dependency>
    <groupId>com.scleradb</groupId>
    <artifactId>sclera-plugin-opennlp_2.13</artifactId>
    <version>4.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.scleradb/sclera-plugin-opennlp_2.13/
implementation 'com.scleradb:sclera-plugin-opennlp_2.13:4.0'
// https://jarcasting.com/artifacts/com.scleradb/sclera-plugin-opennlp_2.13/
implementation ("com.scleradb:sclera-plugin-opennlp_2.13:4.0")
'com.scleradb:sclera-plugin-opennlp_2.13:jar:4.0'
<dependency org="com.scleradb" name="sclera-plugin-opennlp_2.13" rev="4.0">
  <artifact name="sclera-plugin-opennlp_2.13" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.scleradb', module='sclera-plugin-opennlp_2.13', version='4.0')
)
libraryDependencies += "com.scleradb" % "sclera-plugin-opennlp_2.13" % "4.0"
[com.scleradb/sclera-plugin-opennlp_2.13 "4.0"]

Dependencies

compile (2)

Group / Artifact Type Version
org.scala-lang : scala-library jar 2.13.1
org.apache.opennlp : opennlp-tools jar 1.9.1

provided (2)

Group / Artifact Type Version
com.scleradb : sclera-config_2.13 jar 4.0
com.scleradb : sclera-core_2.13 jar 4.0

test (1)

Group / Artifact Type Version
org.scalatest : scalatest_2.13 jar 3.1.1

Project Modules

There are no modules declared in this project.

Sclera - OpenNLP Connector

Build Status Maven Central scaladoc

Enables Sclera to perform text analytics on free-form text.

Current version of this component only supports extracting entities (such as names of persons and places, dates, emails) from the text. Later versions will include additional features such as sentiment/opinion mining.

The entity extraction is exposed as a SQL operator (Sclera's extension) which can act on any relational input. The operator is given the name of the column containing the text data, and the output is the input will additional columns containing the extracted information. The output can then be aggregated, joined with other tables, etc. as usual within the SQL query.

This component uses the Apache OpenNLP library, which is downloaded automatically as a part of the installation.

To use this component, you will also need to provide Sclera with trained models for a sentence detector and name finders (extractors) for your language. These are not packaged with Sclera, but can be downloaded separately from the Apache OpenNLP models repository. The site provides models in Danish (code: da), German (code: de), English (code: en), Dutch (code: dl), Portuguese (code: pt) and Swedish (code: se). The models files can be downloaded from the site and kept in the directory <sclera-assets>/opennlp, where <sclera-assets> is the directory given by the sclera.services.assetdir configuration parameter.

For greater accuracy on your data, you can also create your own name finders using Apache OpenNLP's toolkit.

Please refer to the ScleraSQL Reference document for details on using the component's features in a SQL query.

com.scleradb

Sclera, Inc.

Extensible Data Processing

Versions

Version
4.0