yali-language-identifier - Script for language identification
Identify languages with pretrained models.
-i, --input=F input file. When F is -, read standard input. --filelist=F input files are read from F. When F is -, read them from standard input. -f, --format=FORMAT output FORMAT -l, --languages=L ISO 639-3 codes of languages seperated by space -s, --supported prints list of supported languages -h, --help prints documentation
single - prints out only the most probable language all - prints out all languages sorted according to their probability descendetly all_p - prints out all languages with probability sorted according to their probability descendetly tabbed - prints out probabilities of languages separated by tab in order used for --languages
Is file /etc/passwd written in english or czech? cat /etc/passwd | yali-language-identifier -i=- -l="eng ces"
More examples are available at http://search.cpan.org/perldoc?Lingua%3A%3AYALI%3A%3AExamples
Version: 0.012 (2012-09-20)
Martin Majlis <email@example.com>
This software is Copyright (c) 2012 by Martin Majlis.
This is free software, licensed under:
The (three-clause) BSD License