Lingua::EN::Keywords::Yahoo - Automatically extracts keywords from text using the Yahoo! API
use Lingua::EN::Keywords::Yahoo qw(keywords); my @keywords = keywords($text);
or
my @keywords = keywords($text, $query);
Where $query is an optional term to help with the extraction process.
$query
This uses the Yahoo! keywords API to extract keywords from text.
To quote the Yahoo! page: "The Term Extraction Web Service provides a list of significant words or phrases extracted from a larger content."
Can export the keywords subroutine.
keywords
Original code by Simon Cozens, <simon@cpan.org>
Packaged by Simon Wistow, <simon@thegestalt.org>
Released under the same terms as Perl itself.
The Term Extraction API: http://developer.yahoo.net/search/content/V1/termExtraction.html
Yahoo::Search
To install Lingua::EN::Keywords::Yahoo, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Lingua::EN::Keywords::Yahoo
CPAN shell
perl -MCPAN -e shell install Lingua::EN::Keywords::Yahoo
For more information on module installation, please visit the detailed CPAN module installation guide.