Suggests a list of spellings for a word. Returns a ValueIterator containing the most likely spellings for the specified word.
|$uri||The URIs of the dictionaries to use.|
|$word||The word for which you get spelling suggestions.|
object for this suggest operation.
The default is
function only provides suggestions
to words that are less than 64 characters in length; words 64 characters
or longer return no suggestions. Also, it removes any dictionary entries
that are 64 characters or more, so it will never return a suggestion with
greater than 64 characters.
spell.suggest("myDictionary.xml","occasionally") => A ValueIterator with the values for each suggestion: occasionally occasional occasion occasions occasion's occasioned optionally educationally irrationally
spell.suggest("spell.xml", "albetros") => A ValueIterator with the values for each suggestion: albatross abettors alders alters Albert's Elbert's allegros alder's Walters abettor's