C# 클래스 org.apache.lucene.analysis.miscellaneous.WordDelimiterIterator

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

공개 프로퍼티들

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

Private Properties

프로퍼티 타입 설명
WordDelimiterIterator org.apache.lucene.analysis.miscellaneous
WordDelimiterIterator org.apache.lucene.analysis.miscellaneous
charType int
endsWithPossessive bool
isBreak bool
next int
setBounds void
setText void
type int

공개 메소드들

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

Computes the type of the given character

비공개 메소드들

메소드 설명
WordDelimiterIterator ( ) : org.apache.lucene.analysis.miscellaneous
WordDelimiterIterator ( sbyte charTypeTable, bool splitOnCaseChange, bool splitOnNumerics, bool stemEnglishPossessive ) : org.apache.lucene.analysis.miscellaneous

Create a new WordDelimiterIterator operating with the supplied rules.

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

type ( ) : int

Return the type of the current subword. This currently uses the type of the first character in the subword.

메소드 상세

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[]