public TokenStream create(TokenStream input) {if (pattern != null) {input = new PatternKeywordMarkerFilter(input, pattern);}if (protectedWords != null) {input = new SetKeywordMarkerFilter(input, protectedWords);}return input;}
public override TokenStream Create(TokenStream input){if (pattern != null){input = new PatternKeywordMarkerFilter(input, pattern);}if (protectedWords != null){input = new SetKeywordMarkerFilter(input, protectedWords);}return input;}