LanguageDetector
![Build Status](https://camo.githubusercontent.com/133f6138b5dc08184db465bde9dcd256dc6ddd0b125b668c6f659d6557a49b79/68747470733a2f2f7472617669732d63692e6f72672f4b6f746c696e4e4c502f4c616e67756167654465746563746f722e7376673f6272616e63683d6d6173746572)
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.