Class SetKeywordMarkerFilter

    • Constructor Detail

      • SetKeywordMarkerFilter

        public SetKeywordMarkerFilter​(TokenStream in,
                                      CharArraySet keywordSet)
        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.
        Parameters:
        in - TokenStream to filter
        keywordSet - the keywords set to lookup the current termbuffer