org.apache.spark.mllib.feature
Class VocabWord

Object
  extended by org.apache.spark.mllib.feature.VocabWord
All Implemented Interfaces:
java.io.Serializable, scala.Equals, scala.Product

public class VocabWord
extends Object
implements scala.Product, scala.Serializable

Entry in vocabulary

See Also:
Serialized Form

Constructor Summary
VocabWord(String word, int cn, int[] point, int[] code, int codeLen)
           
 
Method Summary
 int cn()
           
 int[] code()
           
 int codeLen()
           
 int[] point()
           
 String word()
           
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface scala.Product
productArity, productElement, productIterator, productPrefix
 
Methods inherited from interface scala.Equals
canEqual, equals
 

Constructor Detail

VocabWord

public VocabWord(String word,
                 int cn,
                 int[] point,
                 int[] code,
                 int codeLen)
Method Detail

word

public String word()

cn

public int cn()

point

public int[] point()

code

public int[] code()

codeLen

public int codeLen()