C# Класс Lucene.Net.Search.Spell.LevensteinDistance

Levenstein edit distance class.
Наследование: IStringDistance
Показать файл Открыть проект

Открытые методы

Метод Описание
Equals ( object obj ) : bool
GetDistance ( string target, string other ) : float
GetHashCode ( ) : int
LevensteinDistance ( ) : System

Optimized to run a bit faster than the static GetDistance(). In one benchmark times were 5.3sec using ctr vs 8.5sec w/ static method, thus 37% faster.

ToString ( ) : string

Описание методов

Equals() публичный Метод

public Equals ( object obj ) : bool
obj object
Результат bool

GetDistance() публичный Метод

public GetDistance ( string target, string other ) : float
target string
other string
Результат float

GetHashCode() публичный Метод

public GetHashCode ( ) : int
Результат int

LevensteinDistance() публичный Метод

Optimized to run a bit faster than the static GetDistance(). In one benchmark times were 5.3sec using ctr vs 8.5sec w/ static method, thus 37% faster.
public LevensteinDistance ( ) : System
Результат System

ToString() публичный Метод

public ToString ( ) : string
Результат string