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

Similarity measure for short strings such as person names.

상속: StringDistance
파일 보기 프로젝트 열기: apache/lucenenet 1 사용 예제들

공개 메소드들

메소드 설명
Equals ( object obj ) : bool
GetDistance ( string s1, string s2 ) : float
GetHashCode ( ) : int
JaroWinklerDistance ( ) : Lucene.Net.Support

Creates a new distance metric with the default threshold for the Jaro Winkler bonus (0.7)

ToString ( ) : string

비공개 메소드들

메소드 설명
Matches ( string s1, string s2 ) : int[]

메소드 상세

Equals() 공개 메소드

public Equals ( object obj ) : bool
obj object
리턴 bool

GetDistance() 공개 메소드

public GetDistance ( string s1, string s2 ) : float
s1 string
s2 string
리턴 float

GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int

JaroWinklerDistance() 공개 메소드

Creates a new distance metric with the default threshold for the Jaro Winkler bonus (0.7)
public JaroWinklerDistance ( ) : Lucene.Net.Support
리턴 Lucene.Net.Support

ToString() 공개 메소드

public ToString ( ) : string
리턴 string