NAME
yali-language-identifier - Script for language identification
VERSION
version 0.010_01
SYNOPSIS
yali-language-identifier [options]
Options:
-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
FORMAT:
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
EXAMPLES:
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
AUTHOR
Martin Majlis <martin@majlis.cz>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2012 by Martin Majlis.
This is free software, licensed under:
The (three-clause) BSD License