Constructor MockTokenFilter
MockTokenFilter(TokenStream, CharacterRunAutomaton)
Create a new MockTokenFilter.
Declaration
public MockTokenFilter(TokenStream input, CharacterRunAutomaton filter)
Parameters
Type | Name | Description |
---|---|---|
TokenStream | input | TokenStream to filter |
CharacterRunAutomaton | filter | DFA representing the terms that should be removed. |