Skip to content

wollmers/Text-Guess-Language

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NAME

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

Text-Guess-Language Coverage Status Kwalitee Score CPAN version

SYNOPSIS

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

DESCRIPTION

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

CONSTRUCTOR

  • new()

    Creates a new object which maintains internal storage areas for the Text::Guess::Language computation. Use one of these per concurrent Text::Guess::Language->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/Text-Guess-Language

AUTHOR

Helmut Wollmersdorfer [email protected]

Kwalitee Score

COPYRIGHT

Copyright 2016-2020 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

About

Guess langauge from Text using top 1000 words

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages