Calculates the minimum number of change, inserts or deletes required to change firstWord into secondWord
[Visual Basic]Overloads Public Function EditDistance( _
ByVal source As String, _
ByVal target As String _
) As Integer
ByVal source As String, _
ByVal target As String _
) As Integer
Parameters
- source
-
The first word to calculate
- target
-
The second word to calculate
Return Value
The number of edits to make firstWord equal secondWord
Remarks
This method automatically gives priority to matching the first and last char
See Also
Spelling Class | NetSpell.SpellChecker Namespace | Spelling.EditDistance Overload List