Net::Google::Spelling - simple OOP-ish interface to the Google SOAP API for spelling suggestions
use Net::Google::Spelling; my $spelling = Net::Google::Spelling($service,\%args); $spelling->phrase("muntreal qweebec"); print $spelling->suggest()."\n";
Provides a simple OOP-ish interface to the Google SOAP API for spelling suggestions.
This package is used by Net::Google.
Where $service is a valid GoogleSearchService object.
Valid arguments are :
key
String. Google API key. If none is provided then the key passed to the parent Net::Google object will be used.
phrase
String or array reference.
Returns a string. Returns undef if there was an error.
Add one or more words to the phrase you want to spell-check.
If the first item in @words is empty, then any existing phrase data will be removed before the new data is added.
Fetch the spelling suggestion from the Google servers.
0.1.2
May 01, 2002
Aaron Straup Cope
Net::Google
Copyright (c) 2002, Aaron Straup Cope. All Rights Reserved.
This is free software, you may use it and distribute it under the same terms as Perl itself.
To install Net::Google, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Google
CPAN shell
perl -MCPAN -e shell install Net::Google
For more information on module installation, please visit the detailed CPAN module installation guide.