public class RankerCandidate
extends java.lang.Object
| Constructor and Description |
|---|
RankerCandidate(java.lang.String lemma,
LemmaCandidate candidate,
boolean correct,
double score) |
| Modifier and Type | Method and Description |
|---|---|
static RankerCandidate |
bestCandidate(java.util.List<RankerCandidate> lemma_candidates) |
LemmaCandidate |
getCandidate() |
java.lang.String |
getLemma() |
double |
getScore() |
void |
incrementEstimatedCounts(double expected_counts) |
boolean |
isCorrect() |
void |
update(State state,
WeightVector weights,
double value) |
void |
updateWeights(State state,
WeightVector weights) |
public RankerCandidate(java.lang.String lemma,
LemmaCandidate candidate,
boolean correct,
double score)
public double getScore()
public LemmaCandidate getCandidate()
public boolean isCorrect()
public void update(State state, WeightVector weights, double value)
public void incrementEstimatedCounts(double expected_counts)
public void updateWeights(State state, WeightVector weights)
public static RankerCandidate bestCandidate(java.util.List<RankerCandidate> lemma_candidates)
public java.lang.String getLemma()