C# 클래스 Lucene.Net.Search.Spell.LevensteinDistance

Levenstein edit distance class.
상속: IStringDistance
파일 보기 프로젝트 열기: apache/lucenenet

공개 메소드들

메소드 설명
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