C# 클래스 Lucene.Net.Analysis.Nl.DutchStemmer

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

Private Properties

프로퍼티 타입 설명
EnEnding bool
GetRIndex int
IsStemmable bool
IsValidEnEnding bool
IsValidSEnding bool
IsVowel bool
ReStoreYandI void
Step1 void
Step2 void
Step3a void
Step3b void
Step4 void
StoreYandI void
Substitute void
UnDouble void
UnDouble void

공개 메소드들

메소드 설명
Stem ( string term ) : string

비공개 메소드들

메소드 설명
EnEnding ( StringBuilder sb ) : bool
GetRIndex ( StringBuilder sb, int start ) : int
IsStemmable ( string term ) : bool

Checks if a term could be stemmed.

IsValidEnEnding ( StringBuilder sb, int index ) : bool
IsValidSEnding ( StringBuilder sb, int index ) : bool
IsVowel ( char c ) : bool
ReStoreYandI ( StringBuilder sb ) : void
Step1 ( StringBuilder sb ) : void
Step2 ( StringBuilder sb ) : void

Delete suffix e if in R1 and preceded by a non-vowel, and then undouble the ending

Step3a ( StringBuilder sb ) : void

Delete "heid"

Step3b ( StringBuilder sb ) : void

A d-suffix, or derivational suffix, enables a new word, often with a different grammatical category, or with a different sense, to be built from another word. Whether a d-suffix can be attached is discovered not from the rules of grammar, but by referring to a dictionary. So in English, ness can be added to certain adjectives to form corresponding nouns (littleness, kindness, foolishness ...) but not to all adjectives (not for example, to big, cruel, wise ...) d-suffixes can be used to change meaning, often in rather exotic ways.

Remove "ing", "end", "ig", "lijk", "baar" and "bar"

Step4 ( StringBuilder sb ) : void

undouble vowel If the words ends CVD, where C is a non-vowel, D is a non-vowel other than I, and V is double a, e, o or u, remove one of the vowels from V (for example, maan -> man, brood -> brod).

StoreYandI ( StringBuilder sb ) : void
Substitute ( StringBuilder buffer ) : void

Substitute ä, ë, ï, ö, ü, á , é, í, ó, ú

UnDouble ( StringBuilder sb ) : void
UnDouble ( StringBuilder sb, int endIndex ) : void

메소드 상세

Stem() 공개 메소드

public Stem ( string term ) : string
term string
리턴 string