com.kotlinnlp:languagedetector

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

License

License

Categories

Categories

Kotlin Languages
GroupId

GroupId

com.kotlinnlp
ArtifactId

ArtifactId

languagedetector
Last Version

Last Version

0.4.10
Release Date

Release Date

Type

Type

jar
Description

Description

com.kotlinnlp:languagedetector
LanguageDetector is a very simple to use text language detector which uses the Hierarchical Attention Networks (HAN) from the SimpleDNN library.
Project URL

Project URL

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

Source Code Management

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

Download languagedetector

How to add to project

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

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 : neuraltokenizer jar 0.4.8

test (1)

Group / Artifact Type Version
org.jetbrains.kotlin : kotlin-test jar 1.3.31

Project Modules

There are no modules declared in this project.

LanguageDetector Maven Central Build Status

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

LanguageDetector is part of KotlinNLP.

Getting Started

Import with Maven

<dependency>
    <groupId>com.kotlinnlp</groupId>
    <artifactId>languagedetector</artifactId>
    <version>0.4.10</version>
</dependency>

Examples

Try some examples of usage of LanguageDetector 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.4.10
0.4.9
0.4.8
0.4.7
0.4.6
0.4.5
0.4.4
0.4.3
0.4.2
0.4.1
0.4.0
0.3.2
0.3.1
0.3.0
0.2.1
0.2.0
0.1.0