C# Class 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.
Inheritance: KeywordMarkerFilter
Afficher le fichier Open project: apache/lucenenet Class Usage Examples

Méthodes publiques

Méthode Description
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.

Method Details

SetKeywordMarkerFilter() public méthode

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
Résultat Lucene.Net.Analysis.Tokenattributes