public class BatchItem<T extends SequenceElement> extends Object
Constructor and Description |
---|
BatchItem(T word,
int[] windowWords,
boolean[] wordStatuses,
long randomValue,
double alpha) |
BatchItem(T word,
int[] windowWords,
boolean[] wordStatuses,
long randomValue,
double alpha,
int numLabel) |
BatchItem(T word,
T lastWord,
long randomValue,
double alpha) |
Modifier and Type | Method and Description |
---|---|
double |
getAlpha() |
T |
getLastWord() |
int |
getNumLabel() |
long |
getRandomValue() |
int[] |
getWindowWords() |
T |
getWord() |
boolean[] |
getWordStatuses() |
void |
setAlpha(double alpha) |
void |
setLastWord(T lastWord) |
void |
setWord(T word) |
public BatchItem(T word, int[] windowWords, boolean[] wordStatuses, long randomValue, double alpha, int numLabel)
public BatchItem(T word, int[] windowWords, boolean[] wordStatuses, long randomValue, double alpha)
public T getWord()
public void setWord(T word)
public T getLastWord()
public void setLastWord(T lastWord)
public long getRandomValue()
public double getAlpha()
public void setAlpha(double alpha)
public int[] getWindowWords()
public boolean[] getWordStatuses()
public int getNumLabel()
Copyright © 2022. All rights reserved.