public class SimpleTokenizer
extends java.lang.Object
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(java.lang.String[] args)
Deprecated.
this method will be removed, use the new command line interface instead!
|
java.lang.String[] |
tokenize(java.lang.String s)
Splits a string into its atomic parts
|
Span[] |
tokenizePos(java.lang.String s)
Finds the boundaries of atomic parts in a string.
|
public static final SimpleTokenizer INSTANCE
@Deprecated public SimpleTokenizer()
public Span[] tokenizePos(java.lang.String s)
Tokenizer
s
- The string to be tokenized.@Deprecated public static void main(java.lang.String[] args) throws java.io.IOException
args
- the command line argumentsjava.io.IOException
- if reading or writing from stdin or stdout fails in anywaypublic java.lang.String[] tokenize(java.lang.String s)
Tokenizer
Copyright © 2010 - 2020 Adobe. All Rights Reserved