|
Lucene.Net
3.0.3
Lucene.Net is a .NET port of the Java Lucene Indexing Library
|
Levenshtein edit distance More...
Inherits SpellChecker.Net.Search.Spell.StringDistance.
Public Member Functions | |
| float | GetDistance (String target, String other) |
| Returns a float between 0 and 1 based on how similar the specified strings are to one another. Returning a value of 1 means the specified strings are identical and 0 means the string are maximally different. | |
Levenshtein edit distance
Definition at line 28 of file LevenshteinDistance.cs.
| float SpellChecker.Net.Search.Spell.LevenshteinDistance.GetDistance | ( | String | target, |
| String | other | ||
| ) |
Returns a float between 0 and 1 based on how similar the specified strings are to one another. Returning a value of 1 means the specified strings are identical and 0 means the string are maximally different.
| target | The first string. |
| other | The second string. |
Implements SpellChecker.Net.Search.Spell.StringDistance.
Definition at line 38 of file LevenshteinDistance.cs.
1.8.3