Spell-check engine?

Siggy Brentrup bsb at winnegan.de
Mon Oct 21 13:38:15 EDT 2002


On Mon, Oct 21, 2002 at 09:35:41AM -0700, Michele Simionato wrote:
> I take the occasion for a simple question about ispell/aspell.
> 
> If I write
> 
> $ echo "hello worldd" | ispell -a
> 
> I obtain
> 
> @(#) International Ispell Version 3.1.20 (but really Aspell .33.7
> alpha)
> *
> & worldd 17 6: world, worlds, wold, whorled, would, wooled, wield,
> world's, weld, wild, whirled, wolds, worded, Wilda, Wilde, wiled, word
> 
> Now clearly the & means "this is the mispelled word" and the second
> number
> (6 in this case) is the position of the mispelled word (the column
> number).


> But what is the meaning of the first number, 17 in this case ?

Just a wild guess: did you count the alternatives after the colon?

cf man ispell (look for 'number of near misses')

HTH
  Siggy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20021021/de368a64/attachment.sig>


More information about the Python-list mailing list