Software Open Access
Jauhiainen, Tommi;
Jauhiainen, Heidi
HeLI off-the-shelf language identifier with language models for 200 languages.
Usage:
java -jar HeLI.jar -r <infile> -w <outfile>
The program will read the <infile> and classify the language of each line as one of the 200 languages it knows
and writes the results, one ISO 639-3 code per line, into file <outfile>.
You can use the -c option to make the program print a confidence score for the identification after each language code.
Usage:
java -jar HeLI.jar -c -r <infile> -w <outfile>
You can give the list of comma-separated ISO 639-3 identifiers for relevant languages after -l option.
Usage:
java -jar HeLI.jar -r <infile> -w <outfile> -l fin,swe,eng
You can give the number of top-scored languages to print after the -t option. (overrides confidence)
Usage:
java -jar HeLI.jar -r <infile> -w <outfile> -l fin,swe,eng -t 2
If you omit both of the filenames, the program will read the standard input one line at a time and write the result to standard output.
It can identify c. 3000 sentences per second using one core on a 2021 laptop and around 3 gigabytes of memory.
If you use this program in producing scientific publications, please refer to:
@inproceedings{jauhiainen-etal-2017-evaluation,
title = "Evaluation of language identification methods using 285 languages",
author = "Jauhiainen, Tommi and
Lind{\'e}n, Krister and
Jauhiainen, Heidi",
booktitle = "Proceedings of the 21st Nordic Conference on Computational Linguistics",
month = may,
year = "2017",
address = "Gothenburg, Sweden",
publisher = "Association for Computational Linguistics",
url = "https://www.aclweb.org/anthology/W17-0221",
pages = "183--191",
}
Producing and publishing this software has been partly supported by The Finnish Research Impact Foundation Tandem Industry Academia -funding in cooperation with Lingsoft.
Name | Size | |
---|---|---|
createmodels.java
md5:6812296c1a1397e778b674e66327feaf |
6.7 kB | Download |
HeLI.class
md5:4fc85597dbbcf42273557a46f3cf874d |
14.5 kB | Download |
HeLI.jar
md5:bcf692e57c129230daee02542f2497a5 |
44.0 MB | Download |
HeLI.java
md5:30544a34f93cc4e29adc5e93464962bb |
25.0 kB | Download |
HeLI.mf
md5:9116726e14375f413b758c1eeedcffba |
39 Bytes | Download |
languagelist
md5:f44bcfe8a8a8108095b6bc35cea8e31d |
884 Bytes | Download |
LanguageModels.zip
md5:804ea9827831d6eceb0b1713ab117923 |
44.1 MB | Download |
LICENSE
md5:bb0ae3b700049fd806e2a043e01265d6 |
11.4 kB | Download |
README.md
md5:6e061777b81257a4acf821ebf891a8ce |
2.7 kB | Download |
run_HeLI.py
md5:fa3de39cf2e93085759e3f97cb9f4d0f |
1.0 kB | Download |
supporting_functions.py
md5:5d551dcb80653aaac5ecebae98842826 |
745 Bytes | Download |
Jauhiainen, Tommi et al. (2017). Evaluation of language identification methods using 285 languages. https://www.aclweb.org/anthology/W17-0221
All versions | This version | |
---|---|---|
Views | 5,217 | 1,193 |
Downloads | 782 | 146 |
Data volume | 16.1 GB | 3.1 GB |
Unique views | 4,379 | 1,145 |
Unique downloads | 249 | 68 |