C# Класс org.apache.lucene.analysis.miscellaneous.PatternKeywordMarkerFilter

Marks terms as keywords via the KeywordAttribute. Each token that matches the provided pattern is marked as a keyword by setting KeywordAttribute#setKeyword(boolean) to true.
Наследование: KeywordMarkerFilter
Показать файл Открыть проект

Открытые методы

Метод Описание
PatternKeywordMarkerFilter ( TokenStream @in, Pattern pattern )

Create a new PatternKeywordMarkerFilter, that marks the current token as a keyword if the tokens term buffer matches the provided Pattern via the KeywordAttribute.

Описание методов

PatternKeywordMarkerFilter() публичный Метод

Create a new PatternKeywordMarkerFilter, that marks the current token as a keyword if the tokens term buffer matches the provided Pattern via the KeywordAttribute.
public PatternKeywordMarkerFilter ( TokenStream @in, Pattern pattern )
@in TokenStream
pattern Pattern /// the pattern to apply to the incoming term buffer ///