Lingua::EN::Keywords - Automatically extracts keywords from text
my @keywords = keywords($text);
This is a very simple algorithm which removes stopwords from a summarized version of a text (generated with Lingua::EN::Summarize) and then counts up what it considers to be the most important "keywords". The keywords subroutine returns a list of five keywords in order of relevance.
This is pretty dumb. Don't expect any clever document categorization algorithms here, because you won't find them. But it does a reasonable job.
Simon Cozens, firstname.lastname@example.org
To install My::Tagger, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.