MockTokenizer
Tokenizer for testing.
This tokenizer is a replacement for WHITESPACE, SIMPLE, and KEYWORD tokenizers. It provides extra checks useful for testing.
Constructors
Link copied to clipboard
constructor(factory: AttributeFactory, runAutomaton: CharacterRunAutomaton, lowerCase: Boolean, maxTokenLength: Int = DEFAULT_MAX_TOKEN_LENGTH)
constructor(runAutomaton: CharacterRunAutomaton, lowerCase: Boolean, maxTokenLength: Int = DEFAULT_MAX_TOKEN_LENGTH)
constructor()
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard