The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Lingua::JA::Expand - word expander by associatives

SYNOPSIS

  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;

DESCRIPTION

Lingua::JA::Expand is word expander by associatives

# 2011年4月以降、YahooAPIの仕様変更により、利用制限が厳しくなりました。 # 現在のところ、有料版のアカウントによるappidのみ、正常に動作するようです。(無料版ではまともに動きません)

  see =>  http://developer.yahoo.co.jp/webapi/search/premium.html

METHODS

new( yahoo_api_appid => 'xxxxxxxxx', yahoo_api_premium => 1 )

expand($word)

tokenize($text, $threshold)

tokenizer()

datasource()

AUTHOR

Takeshi Miki <miki@cpan.org>

LICENSE

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

SEE ALSO

1 POD Error

The following errors were encountered while parsing the POD:

Around line 104:

Non-ASCII character seen before =encoding in '2011年4月以降、YahooAPIの仕様変更により、利用制限が厳しくなりました。'. Assuming UTF-8