![]() |
Type in a command, or "ls dictionary" to search all commands for "dictionary", etc.
|
SYNOPSIS
spll [Yubnub command] [word(s) to check spelling] -engine [localized Google version to use in spell checking, optional, defaults to Google English]
EXAMPLE
spll gnews cmbodia
performs: a search in Google News for "cambodia"
spll flint monica beluci
performs: a search in Flickr for "monica bellucci"
spll g internatioal aids confrence
performs: a search in Google for "international aids conference"
spllw am der gefagene von askaban -engine gde
performs: a search in Amazon for "der gefangene von askaban" (Because spelling "gefagene" --prisoner in German-- as "gefagene" is a common mistake of German speakers. Note that Google English wouldn't see this is a misspelling!)
spllw gim soni -engine ges
performs: a search in Google Images for "sony" (Because spelling Sony as Soni is a common mistake of Spanish speakers. Note that Google English wouldn't see this is a misspelling!)
DESCRIPTION
A spell checker command based on Google's "did you mean" feature that spell-checks the 2nd param and uses the result as a parameter for the 1st param. It supports multiple words (unlike ?> and \\, which don't work as advertised in this regard) and is slightly more efficient.
Please man sp1, sp2, and spllw to see how this command works. The code is interesting because a technique for using variables in YubNub is detailed.
GENETICS
This command was first inspired by a suggestion by kore7 (http://groups.google.com/group/YubNub/browse_thread/thread/1c7f9f28deaa8ed1/6136b0f0b3d03a0d#6136b0f0b3d03a0d)
It is built upon 3 truly wonderful commands: Sean O'Hagan's scrape, and ifThen & stringReplace, both by Allen Ormond.
RELATED COMMANDS
sp1, sp2, spllw, ?>, \\
AUTHOR
Eliazar
elzr.com