NAME

Language::Guess - Guess language from text using top 1000 words

Language-Guess Coverage Status Kwalitee Score CPAN version

SYNOPSIS

use Langauge::Guess;
my $guessed_language = Language::Guess->guess($text);

DESCRIPTION

Language::Guess matches the words in the text against lists of the top 1000 words in each of 45 different languages.

CONSTRUCTOR

new()

Creates a new object which maintains internal storage areas for the Language::Guess computation. Use one of these per concurrent Language::Guess->guess() call.

METHODS

guess($text)

Returns the language code with the most words found.

EXPORT

None by design.

STABILITY

Until release of version 1.00 the included methods, names of methods and their interfaces are subject to change.

Beginning with version 1.00 the specification will be stable, i.e. not changed between major versions.

SOURCE REPOSITORY

http://github.com/wollmers/Language-Guess

AUTHOR

Helmut Wollmersdorfer <helmut.wollmersdorfer@gmail.com>

Kwalitee Score

COPYRIGHT

Copyright 2016- Helmut Wollmersdorfer

LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO

Text::Language::Guess