weka.datagenerators
Class TextSource.Token

java.lang.Object
  extended byweka.datagenerators.TextSource.Token
Enclosing class:
TextSource

protected class TextSource.Token
extends java.lang.Object

Information about a particular token.


Field Summary
 int m_nDF
          The document frequency.
 TextSource.Int m_nID
          The token ID, which is the same as the attribute index.
 java.lang.String m_strToken
          The token string.
 
Constructor Summary
TextSource.Token(java.lang.String strToken, TextSource.Int nID)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_strToken

public java.lang.String m_strToken
The token string.


m_nID

public TextSource.Int m_nID
The token ID, which is the same as the attribute index.


m_nDF

public int m_nDF
The document frequency.

Constructor Detail

TextSource.Token

public TextSource.Token(java.lang.String strToken,
                        TextSource.Int nID)