com.kotlinnlp:hanclassifier

HANClassifier is a very simple to use text classifier which uses the Hierarchical Attention Networks (HAN) from the SimpleDNN library.

License

License

Categories

Categories

Kotlin Languages
GroupId

GroupId

com.kotlinnlp
ArtifactId

ArtifactId

hanclassifier
Last Version

Last Version

0.6.5
Release Date

Release Date

Type

Type

jar
Description

Description

com.kotlinnlp:hanclassifier
HANClassifier is a very simple to use text classifier which uses the Hierarchical Attention Networks (HAN) from the SimpleDNN library.
Project URL

Project URL

http://github.com/kotlinnlp/hanclassifier
Source Code Management

Source Code Management

http://github.com/kotlinnlp/hanclassifier/tree/master

Download hanclassifier

How to add to project

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

Dependencies

compile (4)

Group / Artifact Type Version
org.jetbrains.kotlin : kotlin-stdlib-jdk8 jar 1.3.31
org.jetbrains.kotlin : kotlin-reflect jar 1.3.31
com.beust : klaxon jar 5.2
com.kotlinnlp : tokensencoder jar 0.5.4

Project Modules

There are no modules declared in this project.

HANClassifier Maven Central Build Status

HANClassifier is a very simple to use text classifier which uses the Hierarchical Attention Networks (HAN) from the SimpleDNN library.

HANClassifier is part of KotlinNLP.

Getting Started

Import with Maven

<dependency>
    <groupId>com.kotlinnlp</groupId>
    <artifactId>hanclassifier</artifactId>
    <version>0.6.5</version>
</dependency>

Examples

Try some examples of usage of HANClassifier running the files in the examples folder.

To run the examples you need datasets of test and training that you can find here

Model Serialization

The trained model is all contained into a single class which provides simple dump() and load() methods to serialize it and afterwards load it.

License

This software is released under the terms of the Mozilla Public License, v. 2.0

Contributions

We greatly appreciate any bug reports and contributions, which can be made by filing an issue or making a pull request through the github page.

Versions

Version
0.6.5
0.6.4
0.6.3
0.6.2
0.6.1
0.6.0
0.5.0
0.4.0
0.3.0
0.2.1
0.2.0
0.1.0