[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Aspell-user] Getting spelling suggestions from aspell in pipe mode?
From: |
Colin McMillen |
Subject: |
[Aspell-user] Getting spelling suggestions from aspell in pipe mode? |
Date: |
Thu, 9 Apr 2009 15:54:51 -0400 |
Hi,
I would like to use aspell in pipe mode to get spelling suggestions
for *all* words (including words which are correctly spelled.)
Basically, I want the results of aspell_speller_suggest(...) for every
word in the input file, but aspell only prints "*" if a word is
spelled correctly; it doesn't print out the other possibilities.
Is it possible to get spelling suggestions for correct words in pipe mode?
For example, given the input file:
test
yrk
tmes
done
"aspell -a --suggest < infile" prints:
*
& yrk 9 0: York, york, yr, Ark, ark, irk, yak, yrs, yuk
& tmes 19 0: tames, times, tomes, mes, Tm's, Mmes, Tues, tees, ties,
toes, Tome's, time's, tome's, Me's, Mme's, tee's, toe's, Ame's, Tye's
*
I would prefer output more like:
& test ...: test testy teat tests rest yest Tet EST est Tess text Best
TESL West Zest best fest jest lest nest pest tent vest west zest
& yrk 9 0: York, york, yr, Ark, ark, irk, yak, yrs, yuk
& tmes 19 0: tames, times, tomes, mes, Tm's, Mmes, Tues, tees, ties,
toes, Tome's, time's, tome's, Me's, Mme's, tee's, toe's, Ame's, Tye's
& done ...: done Dione Donne dine Don don drone dome DOE Doe doe one
Dane Dene Dona Donn dona dune dyne tone Dons dong dons Bone Dode Dole
Dore Jone bone cone doge dole dope dose dote dove doze gone hone lone
none pone zone Don's don't
Thanks for any help you may be able to give!
Colin
--
Colin McMillen - http://colinm.org - address@hidden
- [Aspell-user] Getting spelling suggestions from aspell in pipe mode?,
Colin McMillen <=