/LanguageDetector

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

Primary LanguageKotlinMozilla Public License 2.0MPL-2.0

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.