HeLI-OTS 1.5

heli-ots-v1-5

Persistent Identifier of this resource:

http://urn.fi/urn:nbn:fi:lb-2024012201

Access location:

HeLI off-the-shelf language identifier with language models for 200 languages. 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>. It can identify c. 3000 sentences per second using one core on a 2021 laptop and around 3 gigabytes of memory.

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.

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.

You don’t have the permission to edit this resource.