GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Net::Google::Spelling(3) User Contributed Perl Documentation Net::Google::Spelling(3)

Net::Google::Spelling - simple OOP-ish interface to the Google SOAP API for spelling suggestions

 use Net::Google::Spelling;
 my $spelling = Net::Google::Spelling(\%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.

Valid arguments are :
  • key

    string.A 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.

  • http_proxy

    url. A URL for proxy-ing HTTP requests.

  • debug

    Valid options are:

  • boolean

    If true prints debugging information returned by SOAP::Lite to STDERR

  • coderef.

    Your own subroutine for munging the debugging information returned by SOAP::Lite.

The object constructor in Net::Google 0.53, and earlier, expected a GoogleSearchService object as its first argument followed by a hash reference of argument. Versions 0.6 and higher are backwards compatible.

Returns an object. Woot!

Get/set the Google API key for this object.

Get/set the HTTP proxy for this object.

Returns a string.

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.

Returns true or false depending on whether or not the current in-memory session has exhausted the Google API 1000 query limit.

1.0

$Date: 2006/01/12 03:37:31 $

Aaron Straup Cope

Net::Google

Copyright (c) 2002-2005, Aaron Straup Cope. All Rights Reserved.

This is free software, you may use it and distribute it under the same terms as Perl itself.

2022-04-07 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.