Class JaroWinklerDistance
Similarity measure for short strings such as person names. See http://en.wikipedia.org/wiki/Jaro%E2%80%93Winkler_distance
Inheritance
System.Object
JaroWinklerDistance
Assembly: Lucene.Net.Suggest.dll
Syntax
public class JaroWinklerDistance : object, IStringDistance
Constructors
Name | Description |
---|---|
JaroWinklerDistance() | Creates a new distance metric with the default threshold for the Jaro Winkler bonus (0.7) |
Properties
Name | Description |
---|---|
Threshold | Gets or sets the threshold used to determine when Winkler bonus should be used. The default value is 0.7. Set to a negative value to get the Jaro distance. |
Methods
Name | Description |
---|---|
Equals(Object) | |
GetDistance(String, String) | |
GetHashCode() | |
ToString() |