WebService::GoogleHack

WebService::GoogleHack is a Perl package that ties together all GoogleHack modules.
Download

WebService::GoogleHack 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 Tags


WebService::GoogleHack Description

WebService::GoogleHack is a Perl package that ties together all GoogleHack modules. WebService::GoogleHack is a Perl package that ties together all GoogleHack modules (Webservice::GoogleHack::Search, Webservice::GoogleHack::Spelling, Webservice::GoogleHack::Rate, and Webservice::GoogleHack::Text) to implement Natural Language Processing Use this package to access all the functionality of GoogleHack.SYNOPSIS use WebService::GoogleHack; my $google = new WebService::GoogleHack; #Initializing the object to the contents of the configuration file # API Key, GoogleSearch.wsdl file location. $google->initConfig("initconfig.txt"); #Printing the contents of the configuration file $google->printConfig(); #Measure the semantic relatedness between the words "white house" and #"president". $measure=$google->measureSemanticRelatedness1("white house","president"); print "nRelatedness measure between white house and president is: "; print $measure."n"; #Going to search for words that are related to "toyota" and "ford" my @terms=(); push(@terms,"toyota"); push(@terms,"ford"); #The parameters are the search terms, number of web page results to look #at, the number of iterations,output file and the "true" indicates that the #diagnostic data should be stored in the file "results.txt" $results=$google->Algorithm1(@terms,10,25,1,"results.txt","true"); print $results;WebService::GoogleHack is a PERL package that interacts with the Google API, and implements basic functions that allow the user to interact with Google and retrieve results in an easy to use format. GoogleHack also implements and extends a number of Natural Language Processing by using the World Wide Web as a source of information. Here are some key features of "WebService::GoogleHack": · Issue queries to Google (WebService::GoogleHack, WebService::GoogleHack::Search) · Retrieve Spelling suggestions from Google (WebService::GoogleHack, WebService::GoogleHack::Spelling) · Find the Pointwise Mututal Information (PMI) measure between two words (WebService::GoogleHack,WebService::GoogleHack::Rate) · Given a paragraph find if the paragraph has a positive or negative semantic orientation.(WebService::GoogleHack,WebService::GoogleHack::Rate) · Given a set of words along with a positively oriented word such as "excellent" and a negatively oriented word such as "poor", find if the word has a positive or negative semantic orientation.(WebService::GoogleHack,WebService::GoogleHack::Rate) · Given a set of phrases along with a positively oriented word such as "excellent" and a negatively oriented word such as "poor", predict if the given phrases are positive or negative in sentiment.(WebService::GoogleHack,WebService::GoogleHack::Rate) · Given two or more words finds a set of related words. (WebService::GoogleHack) Requirements: · Perl · SOAP::Lite; · Set::Scalar; · Text::English; · LWP::Simple; · URI::URL; · LWP::UserAgent; · HTML::LinkExtor; · Data::Dumper


WebService::GoogleHack Related Software