WebService::GoogleHack::Rate

WebService::GoogleHack::Rate is a Perl module that implements a simple relatedness measure and semantic orientation.
Download

WebService::GoogleHack::Rate Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Pratheepan Raveendranathan and Ted Pedersen
  • Publisher web site:
  • http://search.cpan.org/~prath/

WebService::GoogleHack::Rate Tags


WebService::GoogleHack::Rate Description

WebService::GoogleHack::Rate is a Perl module that implements a simple relatedness measure and semantic orientation. WebService::GoogleHack::Rate is a Perl module that implements a simple relatedness measure and semantic orientation related type functions.SYNOPSIS use WebService::GoogleHack::Rate; #GIVE PATH TO INPUT FILE HERE my $INPUTFILE=""; #GIVE PATH TO TRACE FILE HERE my $TRACEFILE=""; #create an object of type Rate my $rate = WebService::GoogleHack::Rate->new(); $results=$rate->measureSemanticRelatedness1("dog", "cat"); #The PMI measure is stored in the variable $results, and it can also #be accessed as $rate->{'PMI'}; $results=$rate->predictSemanticOrientation($INPUTFILE, "excellent", "bad",$TRACEFILE); #The resutls can be accessed through print $results->{'prediction'}."n"; $results->{'PMI Measure'}."n"; $rate->{'prediction'} &."n"; $rate->{'PMI Measure'}."n"; WebService::GoogleHack::Rate - This package uses Google to do some basic natural language processing. For example, given two words, say "knife" and "cut", the module has the ability to retrieve a semantic relatedness measure, commonly known as the PMI (Pointwise mututal information) measure. The larger the measure the more related the words are. The package can also predict the semantic orientation of a given paragraph of english text. A positive measure means that the paragraph has a positive meaning, and negative measure means the opposite. Requirements: · Perl


WebService::GoogleHack::Rate Related Software