Class VocabWord

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

public class VocabWord extends Object implements scala.Product, Serializable
Entry in vocabulary
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    VocabWord(String word, long cn, int[] point, int[] code, int codeLen)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract static R
    apply(T1 v1, T2 v2, T3 v3, T4 v4, T5 v5)
     
    long
    cn()
     
    int[]
     
    int
     
    int[]
     
    static String
     
     

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface scala.Equals

    canEqual, equals

    Methods inherited from interface scala.Product

    productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
  • Constructor Details

    • VocabWord

      public VocabWord(String word, long cn, int[] point, int[] code, int codeLen)
  • Method Details

    • apply

      public abstract static R apply(T1 v1, T2 v2, T3 v3, T4 v4, T5 v5)
    • toString

      public static String toString()
    • word

      public String word()
    • cn

      public long cn()
    • point

      public int[] point()
    • code

      public int[] code()
    • codeLen

      public int codeLen()