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, _
ByVal positionPriority As Boolean _
) As Integer
ByVal source As String, _
ByVal target As String, _
ByVal positionPriority As Boolean _
) As Integer
Parameters
- source
-
The first word to calculate
- target
-
The second word to calculate
- positionPriority
-
set to true if the first and last char should have priority
Return Value
The number of edits to make firstWord equal secondWord
See Also
Spelling Class | NetSpell.SpellChecker Namespace | Spelling.EditDistance Overload List