C# 클래스 Lucene.Net.Analysis.Miscellaneous.WordDelimiterIterator

A BreakIterator-like API for iterating over subwords in text, according to WordDelimiterFilter rules. @lucene.internal
파일 보기 프로젝트 열기: apache/lucenenet 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
DEFAULT_WORD_DELIM_TABLE sbyte[]

Private Properties

프로퍼티 타입 설명
CharType int
EndsWithPossessive bool
IsBreak bool
Next int
SetBounds void
SetText void
WordDelimiterIterator System.Globalization
WordDelimiterIterator System.Globalization

공개 메소드들

메소드 설명
GetType ( int ch ) : sbyte

Computes the type of the given character

비공개 메소드들

메소드 설명
CharType ( int ch ) : int

Determines the type of the given character

EndsWithPossessive ( int pos ) : bool

Determines if the text at the given position indicates an English possessive which should be removed

IsBreak ( int lastType, int type ) : bool

Determines whether the transition from lastType to type indicates a break

Next ( ) : int

Advance to the next subword in the string.

SetBounds ( ) : void

Set the internal word bounds (remove leading and trailing delimiters). Note, if a possessive is found, don't remove it yet, simply note it.

SetText ( char text, int length ) : void

Reset the text to a new value, and reset all state

WordDelimiterIterator ( ) : System.Globalization
WordDelimiterIterator ( sbyte charTypeTable, bool splitOnCaseChange, bool splitOnNumerics, bool stemEnglishPossessive ) : System.Globalization

Create a new WordDelimiterIterator operating with the supplied rules.

메소드 상세

GetType() 공개 정적인 메소드

Computes the type of the given character
public static GetType ( int ch ) : sbyte
ch int Character whose type is to be determined
리턴 sbyte

프로퍼티 상세

DEFAULT_WORD_DELIM_TABLE 공개적으로 정적으로 프로퍼티

public static sbyte[] DEFAULT_WORD_DELIM_TABLE
리턴 sbyte[]