Published November 4, 2023 | Version 1.5
Software Open

HeLI-OTS 1.5

  • 1. University of Helsinki

Description

HeLI off-the-shelf language identifier with language models for 200 languages.

In order to use the language identifier, you need only to download the HeLI.jar file which is used as follows.

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.

Usage:
java -jar HeLI.jar -r <infile> -w <outfile> -l fin,swe,eng -t 2

You can activate language set identification by -s. You must give the maximum number resulting languages after -s option. (overrides confidence and printing several top-scored languages)

Usage:
java -jar HeLI.jar -r <infile> -w <outfile> -l fin,swe,eng -s 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. 2000 sentences (averaging c. 150 characters) per second from a file using one core and around 4,3 gigabytes of memory on a 2021 laptop.

If you use this program in producing scientific publications, please refer to: 
 @inproceedings{heliots2022,
     title = "{H}e{LI-OTS}, Off-the-shelf Language Identifier for Text",
     author = "Jauhiainen, Tommi  and
       Jauhiainen, Heidi  and
       Lind{\'e}n, Krister",
     booktitle = "Proceedings of the 13th Conference on Language Resources and Evaluation",
     month = june,
     year = "2022",
     address = "Marseille, France",
     publisher = "European Language Resources Association",
     url = "http://www.lrec-conf.org/proceedings/lrec2022/pdf/2022.lrec-1.416.pdf",
     pages = "3912--3922",
     language = "English",
 }

HeLI-OTS-1.5.zip includes the complete source code for the software.

Producing and publishing this software has been partly supported by the University of Helsinki, the Academy of Finland, the Kone Foundation, and the Finnish Research Impact Foundation Tandem Industry Academia -funding in cooperation with Lingsoft.

Files

HeLI-OTS-1.5.zip

Files (490.9 MB)

Name Size Download all
md5:e6823c32754cec9ee0e3bef25cbbb86c
237.8 MB Download
md5:2ab79d6fbce21bf5862f00a17b4f1b2d
47.8 MB Preview Download
md5:3cc17c2698088ef750880f585544a889
124.8 MB Download
md5:d010433330e57dcea9d6a2f9546a3ea7
80.6 MB Download

Additional details

References