C# 클래스 NamedEntityExtractorSK.Finder

파일 보기 프로젝트 열기: irfiit/wikipedia 1 사용 예제들

Private Properties

프로퍼티 타입 설명
LetterPairs string[]
RemoveDiacritics string
Search string
WordLetterPairs List

공개 메소드들

메소드 설명
CompareStrings ( string str1, string str2 ) : double

Compares the two strings based on letter pair matches

Find ( ) : void
Finder ( List persons, List organizations, List locations ) : System
GetMatches ( string word, int take ) : List>

Get matches - result is location/person/organization

비공개 메소드들

메소드 설명
LetterPairs ( string str ) : string[]

Generates an array containing every two consecutive letters in the input string

RemoveDiacritics ( string text ) : string
Search ( string word, int take = 2 ) : string

Search word by input

WordLetterPairs ( string str ) : List

Gets all letter pairs for each individual word in the string

메소드 상세

CompareStrings() 공개 메소드

Compares the two strings based on letter pair matches
public CompareStrings ( string str1, string str2 ) : double
str1 string
str2 string
리턴 double

Find() 공개 메소드

public Find ( ) : void
리턴 void

Finder() 공개 메소드

public Finder ( List persons, List organizations, List locations ) : System
persons List
organizations List
locations List
리턴 System

GetMatches() 공개 메소드

Get matches - result is location/person/organization
public GetMatches ( string word, int take ) : List>
word string
take int
리턴 List>