aspell: Notes on Storing Replacement Pairs

1 
1 6.3 Notes on Storing Replacement Pairs
1 ======================================
1 
1 The `store_repl' method and the `$$ra' should be used because Aspell is
1 able to learn from users misspellings.  For example on the first pass a
1 user misspells _beginning_ as _beging_ so Aspell suggests:
1 
1      begging, begin, being, Beijing, bagging, ....
1 
1 However the user then tries _begning_ and Aspell suggests
1 
1      beginning, beaning, begging, ...
1 
1 so the user selects _beginning_.  However, later on in the document the
1 user misspells it as _begng_ (*not* _beging_).  Normally Aspell will
1 suggest.
1 
1      began, begging, begin, begun, ...
1 
1 However because it knows the user misspelled _beginning_ as _beging_ it
1 will instead suggest:
1 
1      beginning, began, begging, begin, begun ...
1 
1    I myself often misspelled beginning (and still do) as something close
1 to begging and too many times wind up writing sentences such as
1 "begging with ...".
1 
1    Please also note that replacements commands have a memory.  Which
1 means if you first store the replacement pair:
1 
1      sicolagest -> psycolagest
1 
1 then store the replacement pair
1 
1      psycolagest -> psychologist
1 
1 The replacement pair
1 
1      sicolagest -> psychologist
1 
1 will also get stored so that you don't have to worry about it.
1