Метод | Описание | |
---|---|---|
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.
|
public PatternKeywordMarkerFilter ( TokenStream @in, Pattern pattern ) | ||
@in | TokenStream | |
pattern | Pattern | /// the pattern to apply to the incoming term buffer /// |