public interface TextTokenizer
Text tokenisers are used to return a list of TextEvent
from a piece of text.
Modifier and Type | Method and Description |
---|---|
TextGranularity |
granurality()
Returns the text granularity of this tokenizer.
|
List<TextEvent> |
tokenize(CharSequence seq)
Returns the list of
TextEvent corresponding to the specified character sequence. |
List<TextEvent> tokenize(CharSequence seq)
TextEvent
corresponding to the specified character sequence.seq
- the character sequence to tokenize.TextGranularity granurality()
Copyright © 2007-2019. All Rights Reserved.