Subject: Re: commit: Look for suggestions in Custom Dictionary.
From: Martin Sevior (firstname.lastname@example.org)
Date: Tue Feb 05 2002 - 15:43:14 CST
On Tue, 5 Feb 2002, Alan Horkan wrote:
> Martin Sevior wrote:
> >Now you get selections from the custom dictionary file for mispelt words.
> >The algorithm is really simple is stupidly simple but should work given
> >most people custom dictionaries are quite small.
> What happens if someone were to have a large custom dictionary, would it
> just be really slow?
> If i had multiple languages to be spellchecked and incredibly huge
> custom.dic could i crash Abiword or cause it to grind to an unpleasant
> halt? I know Abiword is now supposed to display an hourglass on long
> operations, but would i be able to cancel a really long operation (not
> that i would ever do something to deliberately try and break abiword).
Please try to break it. I think that what would happen is that the
suggestions from the custom dictionary file would be wrong if the file
gets too large. ie The algorithim is not very selective. It just counts
the characters from the supplied word found in a dictionary word then
counts the characters in dictionary word found in the supplied word. If
the faction of found characters in both calculations if > 0.8 the word is
added to the suggestions list.
The algorithm is relatively fast and looking for suggestions does not
interupt the flow of spell-checking or typing.
This archive was generated by hypermail 2b25 : Tue Feb 05 2002 - 15:43:24 CST