Lingua::JA::Expand - word expander by associatives
use Lingua::JA::Expand; use Data::Dumper; my %conf = ( yahoo_api_appid => 'xxxxxxxxxxxxx', yahoo_api_premium => 1, ); my $exp = Lingua::JA::Expand->new(%conf); # expand the word by associatives my $word_set = $exp->expand($word); print Dumper $word_set; # you can tokenize a document by extract featured words. my $word_set = $exp->tokenize($text); print Dumper $word_set;
Lingua::JA::Expand is word expander by associatives
# 2011年4月以降、YahooAPIの仕様変更により、利用制限が厳しくなりました。 # 現在のところ、有料版のアカウントによるappidのみ、正常に動作するようです。(無料版ではまともに動きません)
see => http://developer.yahoo.co.jp/webapi/search/premium.html
Takeshi Miki <miki@cpan.org>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
1 POD Error
The following errors were encountered while parsing the POD:
Non-ASCII character seen before =encoding in '2011年4月以降、YahooAPIの仕様変更により、利用制限が厳しくなりました。'. Assuming UTF-8
To install Lingua::JA::Expand, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Lingua::JA::Expand
CPAN shell
perl -MCPAN -e shell install Lingua::JA::Expand
For more information on module installation, please visit the detailed CPAN module installation guide.