类 AlphabeticTokenizer
java.lang.Object
weka.core.tokenizers.Tokenizer
weka.core.tokenizers.AlphabeticTokenizer
- 所有已实现的接口:
Serializable
,Enumeration
,OptionHandler
,RevisionHandler
Alphabetic string tokenizer, tokens are to be formed only from contiguous alphabetic sequences.
- 版本:
- $Revision: 1.2 $
- 作者:
- Asrhaf M. Kibriya (amk14@cs.waikato.ac.nz), FracPete (fracpete at waikato dot ac dot nz)
- 另请参阅:
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明Returns the revision string.Returns a string describing the stemmerboolean
returns whether there are more elements stillstatic void
Runs the tokenizer with the given options and strings to tokenize.returns the next elementvoid
Sets the string to tokenize.从类继承的方法 weka.core.tokenizers.Tokenizer
getOptions, listOptions, runTokenizer, setOptions, tokenize
从接口继承的方法 java.util.Enumeration
asIterator
-
构造器详细资料
-
AlphabeticTokenizer
public AlphabeticTokenizer()
-
-
方法详细资料
-
globalInfo
Returns a string describing the stemmer- 指定者:
globalInfo
在类中Tokenizer
- 返回:
- a description suitable for displaying in the explorer/experimenter gui
-
hasMoreElements
public boolean hasMoreElements()returns whether there are more elements still- 指定者:
hasMoreElements
在接口中Enumeration
- 指定者:
hasMoreElements
在类中Tokenizer
- 返回:
- true if there are still more elements
-
nextElement
returns the next element- 指定者:
nextElement
在接口中Enumeration
- 指定者:
nextElement
在类中Tokenizer
- 返回:
- the next element
-
tokenize
Sets the string to tokenize. Tokenization happens immediately. -
getRevision
Returns the revision string.- 返回:
- the revision
-
main
Runs the tokenizer with the given options and strings to tokenize. The tokens are printed to stdout.- 参数:
args
- the commandline options and strings to tokenize
-