![]() |
Type in a command, or "ls dictionary" to search all commands for "dictionary", etc.
|
SYNOPSIS sp0 [word(s) to check spelling] -engine [localized Google version to use in spell checking, optional, defaults to Google English] EXAMPLE sp0 cmbodia results: <b><i>cambodia</i></b> sp0 paecekeeper results: <b><i>peacekeeper</i></b> sp0 monica belluci results: monica <b><i>bellucci</i></b> sp0 sucche -engine gde results: <b><i>suche (Because spelling "suche" --search in German-- as "sucche" is a common mistake of German speakers. Note that Google English wouldn't see this is a misspelling) sp0 soni -engine ges results: <b><i>sony</i></b> (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. This is not intended for end-consumer used, for that, use instead sp?. This is a building-block command. You sometimes have to localize the spell checker and that's the function of the engine switch, as explained in the examples. Besides returning text with html markup, there is one problem with this command: if you spell the word correctly the command returns nothing, which is clearly unsuitable since sp0 is most convenient when joined with other commands. To address this problem I created sp1 and sp?. Inspired by a comment by Kore7. Made possible by Sean O'Hagan's _amazing_ scrape command, and Allen Ormond's super fast strReplace. RELATED COMMANDS sp1, sp?, sp?? AUTHOR Eliazar elzr.com