public class WordIndApi
extends java.lang.Object
History:
Constructor and Description |
---|
WordIndApi()
Creates a WordIndApi object and initiate related data (default).
|
Modifier and Type | Method and Description |
---|---|
java.util.Vector<LexItem> |
Mutate(LexItem in)
A method to get the tokenized strings of an input LexItem
|
java.util.Vector<java.lang.String> |
Mutate(java.lang.String inTerm)
A method to get the tokenized strings of an input string
|
void |
SetReserveCase(boolean reserveCaseFlag)
A method to set the flag of reserve case after tokenization
|
public WordIndApi()
public java.util.Vector<LexItem> Mutate(LexItem in) throws java.lang.Exception
in
- an input LexItem to be mutatedjava.lang.Exception
- if exception caughtpublic java.util.Vector<java.lang.String> Mutate(java.lang.String inTerm) throws java.lang.Exception
inTerm
- an input term in a string format to be mutatedjava.lang.Exception
- if exception caughtpublic void SetReserveCase(boolean reserveCaseFlag)
reserveCaseFlag
- an boolean flag of reserving case of tokens