On Mon, 18 Jul 2005, Ananda Kumar C wrote: > We are trying to use aspell as the spell checker for our application and > seeing a delay in getting the suggestions for a misspelled word to the > tune of around 64 millisecs on an average. Checking a word for correct > spelling takes only a few microsecs, which is very good. We could also > get away with getting the best suggestion or the best 5 suggestions from > the suggestion list. Is there a way to limit aspell (by tweaking the > code, if need may be) to return only the best suggestion or the best 5 > suggestions, so that the time taken for getting the list of suggestions > comes down?
Decreasing the number of suggestions will not decrees the overall time it takes to get them. The config option "sug-mode" can be used to improve suggestion speed. "ultra" is the fasted mode. Also, as a general rule, Aspell suggestion speed improves over time. Thus I suggestion you upgrade to the latest version of Aspell 0.60.3, as that version made some significant improvements is suggestion time. -- http://kevin.atkinson.dhs.org _______________________________________________ Aspell-user mailing list [email protected] http://lists.gnu.org/mailman/listinfo/aspell-user
