|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectweka.core.tokenizers.Tokenizer
weka.core.tokenizers.AlphabeticTokenizer
public class AlphabeticTokenizer
Alphabetic string tokenizer, tokens are to be formed only from contiguous alphabetic sequences.
Constructor Summary | |
---|---|
AlphabeticTokenizer()
|
Method Summary | |
---|---|
java.lang.String |
getRevision()
Returns the revision string. |
java.lang.String |
globalInfo()
Returns a string describing the stemmer |
boolean |
hasMoreElements()
returns whether there are more elements still |
static void |
main(java.lang.String[] args)
Runs the tokenizer with the given options and strings to tokenize. |
java.lang.Object |
nextElement()
returns the next element |
void |
tokenize(java.lang.String s)
Sets the string to tokenize. |
Methods inherited from class weka.core.tokenizers.Tokenizer |
---|
getOptions, listOptions, runTokenizer, setOptions, tokenize |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AlphabeticTokenizer()
Method Detail |
---|
public java.lang.String globalInfo()
globalInfo
in class Tokenizer
public boolean hasMoreElements()
hasMoreElements
in interface java.util.Enumeration
hasMoreElements
in class Tokenizer
public java.lang.Object nextElement()
nextElement
in interface java.util.Enumeration
nextElement
in class Tokenizer
public void tokenize(java.lang.String s)
tokenize
in class Tokenizer
s
- the string to tokenizepublic java.lang.String getRevision()
public static void main(java.lang.String[] args)
args
- the commandline options and strings to tokenize
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |