Martin Majlis > Lingua-YALI-0.013 > yali-language-identifier

Download:
Lingua-YALI-0.013.tar.gz

Annotate this POD

View/Report Bugs
Source   Latest Release: Lingua-YALI-0.015

NAME ^

yali-language-identifier - Script for language identification

VERSION ^

version 0.013

SYNOPSIS ^

yali-language-identifier [options]

Identify languages with pretrained models.

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.
 -e, --each            each line from input file is identified separately
 -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

Version: 0.013 (2012-09-20)

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
syntax highlighting: