public class State
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected double |
estimated_count_ |
| Constructor and Description |
|---|
State() |
State(int index) |
State(int index,
State sub_level_state) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canTransitionTo(State other) |
boolean |
check() |
State |
copy() |
State |
copy(State state) |
boolean |
equalIndexes(State other) |
int |
getIndex() |
java.util.List<RankerCandidate> |
getLemmaCandidates() |
int |
getLevel() |
int |
getOrder() |
State |
getPreviousSubOrderState() |
double |
getRealScore() |
double |
getScore() |
State |
getSubLevel(int depth) |
State |
getSubLevelState() |
State |
getSubOrderState() |
Transition |
getTransition(int previous_state_index) |
Transition[] |
getTransitions() |
FeatureVector |
getVector() |
State |
getZeroOrderState() |
void |
incrementEstimatedCounts(double d) |
void |
setLemmaCandidates(java.util.List<RankerCandidate> candidates) |
void |
setLemmaScoreSum() |
void |
setScore(double score) |
void |
setSubLevelState(State sub_level_state) |
void |
setTransitions(Transition[] transitions) |
void |
setVector(FeatureVector vector) |
java.lang.String |
toString() |
void |
updateWeights(WeightVector weights) |
public State()
public State(int index)
public State(int index,
State sub_level_state)
public void setVector(FeatureVector vector)
public void setScore(double score)
public FeatureVector getVector()
public double getScore()
public void setTransitions(Transition[] transitions)
public int getIndex()
public State getZeroOrderState()
public Transition getTransition(int previous_state_index)
public int getOrder()
public boolean canTransitionTo(State other)
public Transition[] getTransitions()
public void incrementEstimatedCounts(double d)
public void updateWeights(WeightVector weights)
public int getLevel()
public State getSubLevel(int depth)
public State getSubLevelState()
public void setSubLevelState(State sub_level_state)
public boolean equalIndexes(State other)
public State getSubOrderState()
public State getPreviousSubOrderState()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean check()
public State copy()
public void setLemmaCandidates(java.util.List<RankerCandidate> candidates)
public java.util.List<RankerCandidate> getLemmaCandidates()
public void setLemmaScoreSum()
public double getRealScore()