TdxCustomSpellChecker.GetTwoWordsDistance(string,string) Method
In This Article
Returns a distance between two words.
#Declaration
#Parameters
Name | Type |
---|---|
AWord1 | string |
AWord2 | string |
#Returns
Type |
---|
Integer |
#Remarks
The GetTwoWordsDistance method uses the modified Levenshtein algorithm.
A misspelled word is subsequently modified by one letter. After the word has been changed, the method returns 1.
See Also