
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 :
String. Google API key. If none is provided then the key passed to the parent Net::Google object will be used.
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.
Returns a string. Returns undef if there was an error.
Fetch the spelling suggestion from the Google servers.
Returns a string. Returns undef if there was an error.

0.13

November 01, 2002

Aaron Straup Cope


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.