Property Distance
Distance
Gets or sets the string distance metric. The default is INTERNAL_LEVENSHTEIN.
Note: because this spellchecker draws its candidates from the term dictionary using Damerau-Levenshtein, it works best with an edit-distance-like string metric. If you use a different metric than the default, you might want to consider increasing MaxInspections to draw more candidates for your metric to rank.
Declaration
public virtual IStringDistance Distance { get; set; }
Property Value
Type | Description |
---|---|
IStringDistance |