Modifier and Type | Field and Description |
---|---|
static SimpleTokenizer |
INSTANCE |
Constructor and Description |
---|
SimpleTokenizer()
Deprecated.
Use INSTANCE field instead to obtain an instance, constructor
will be made private in the future.
|
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args)
Deprecated.
this method will be removed, use the new command line interface instead!
|
String[] |
tokenize(String s)
Splits a string into its atomic parts
|
Span[] |
tokenizePos(String s)
Finds the boundaries of atomic parts in a string.
|
public static final SimpleTokenizer INSTANCE
@Deprecated public SimpleTokenizer()
public Span[] tokenizePos(String s)
Tokenizer
s
- The string to be tokenized.@Deprecated public static void main(String[] args) throws IOException
args
- the command line argumentsIOException
- if reading or writing from stdin or stdout fails in anywayCopyright © 2015 The Apache Software Foundation. All rights reserved.