public class GlovePerformer extends java.lang.Object implements org.apache.spark.api.java.function.Function<Triple<VocabWord,VocabWord,java.lang.Double>,GloveChange>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ALPHA |
static java.lang.String |
MAX_COUNT |
static java.lang.String |
NAME_SPACE |
static java.lang.String |
VECTOR_LENGTH |
static java.lang.String |
X_MAX |
Constructor and Description |
---|
GlovePerformer(GloveWeightLookupTable table) |
Modifier and Type | Method and Description |
---|---|
GloveChange |
call(Triple<VocabWord,VocabWord,java.lang.Double> pair) |
public static final java.lang.String NAME_SPACE
public static final java.lang.String VECTOR_LENGTH
public static final java.lang.String ALPHA
public static final java.lang.String X_MAX
public static final java.lang.String MAX_COUNT
public GlovePerformer(GloveWeightLookupTable table)
public GloveChange call(Triple<VocabWord,VocabWord,java.lang.Double> pair) throws java.lang.Exception
call
in interface org.apache.spark.api.java.function.Function<Triple<VocabWord,VocabWord,java.lang.Double>,GloveChange>
java.lang.Exception