Discussion:
[Aspell-user] changing recommendation order
Joe Paxton
2011-04-20 22:55:52 UTC
Permalink
Hi,

Is there an easy way to force aspell to put my custom replacements
(~/.aspell.en.prepl) before all other recommended replacements for any
given misspelling in my custom list? For example, say I have the
misspelling "ur" which in my custom list maps to "you are." However,
aspell lists the suggested replacement "Ur" before my preferred
replacement ("you are"), when I want it to list my preferred
replacement to come before "Ur." How might I make it list my custom
replacement first?

I'm interested in doing this so that I can automate spelling
replacement with aspell in light of my custom list of replacements.

Thanks for your time.

-Joe Paxton
Kevin Atkinson
2011-04-21 20:52:06 UTC
Permalink
Post by Joe Paxton
Is there an easy way to force aspell to put my custom replacements
(~/.aspell.en.prepl) before all other recommended replacements for any
given misspelling in my custom list? For example, say I have the
misspelling "ur" which in my custom list maps to "you are." However,
aspell lists the suggested replacement "Ur" before my preferred
replacement ("you are"), when I want it to list my preferred
replacement to come before "Ur." How might I make it list my custom
replacement first?
I am fairly sure that the order is hard coded. That being said, the
choice was also most likely arbitrary, and I would most likely accept a
patch to list the preferred replacement first.

If you have not already see:
http://aspell.net/man-html/Notes-on-Storing-Replacement-Pairs.html
Loading...