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

Marks terms as keywords via the KeywordAttribute. Each token contained in the provided set is marked as a keyword by setting KeywordAttribute#setKeyword(boolean) to true.
상속: KeywordMarkerFilter
파일 보기 프로젝트 열기: apache/lucenenet 1 사용 예제들

공개 메소드들

메소드 설명
SetKeywordMarkerFilter ( TokenStream @in, CharArraySet keywordSet ) : Lucene.Net.Analysis.Tokenattributes

Create a new KeywordSetMarkerFilter, that marks the current token as a keyword if the tokens term buffer is contained in the given set via the KeywordAttribute.

메소드 상세

SetKeywordMarkerFilter() 공개 메소드

Create a new KeywordSetMarkerFilter, that marks the current token as a keyword if the tokens term buffer is contained in the given set via the KeywordAttribute.
public SetKeywordMarkerFilter ( TokenStream @in, CharArraySet keywordSet ) : Lucene.Net.Analysis.Tokenattributes
@in TokenStream
keywordSet CharArraySet /// the keywords set to lookup the current termbuffer
리턴 Lucene.Net.Analysis.Tokenattributes