in reply to Net::Google Fails Spelling Test?

Google spell checker apparently changed its mind since the release of that module. The author is making a check on nu yirk citee, which obviously was returned as new york city at one point in time. But now, Google doesn't suggest anything better than nu york city. And so the module works as expected:

% perl -MNet::Google -wle'open(KEY, "<", ".googlekey");chomp($k = <KEY +>);close KEY;$g = Net::Google->new(key=>$k);print $g->spelling(phrase +=>"nu yirk citee")->suggest()' nu york city

;-)

Replies are listed 'Best First'.
Re^2: Net::Google Fails Spelling Test?
by Cody Pendant (Prior) on Feb 09, 2005 at 01:54 UTC
    Surely the fact that it returns anything at all from a google spelling suggestion call should be enough? And did my install really fail and have to be forced because of that? Very strange.


    ($_='kkvvttuubbooppuuiiffssqqffssmmiibbddllffss')
    =~y~b-v~a-z~s; print