This function performs a spell check on the given text and using the specified dictionaries to compare spelling against.
Contents |
SpellCheck( textToCheck, dictionariesToUse )
Returns an array of structures. With each structure representing one possibly mistaken word in the form of:
Spell check a text string using listed dictionary name input:
<cfset results = SpellCheck( "Hi please spell check this text!", "english-custom, english-us" )>
Spell check a text string using an array of dictionary name input:
<cfset useTheseDictionaries = arrayNew(1)> <cfset useTheseDictionaries[1] = "english-custom"> <cfset results = SpellCheck( "Hi please spell check this text!", useTheseDictionaries )>