static class ClusterUnitSelector.ViterbiPath extends Object
Modifier and Type | Field and Description |
---|---|
(package private) ClusterUnitSelector.ViterbiCandidate |
candidate |
private FeatureSet |
f |
(package private) ClusterUnitSelector.ViterbiPath |
from |
(package private) ClusterUnitSelector.ViterbiPath |
next |
(package private) int |
score |
(package private) int |
state |
Constructor and Description |
---|
ViterbiPath() |
Modifier and Type | Method and Description |
---|---|
(package private) Object |
getFeature(String name)
Retrieves a feature.
|
(package private) boolean |
isPresent(String name)
Determines if the feature with the given name
exsists.
|
(package private) void |
setFeature(String name,
Object value)
Sets a feature with the given name to the given value.
|
String |
toString()
Converts this object to a string.
|
int score
int state
private FeatureSet f
ViterbiPath()
void setFeature(String name, Object value)
name
- the name of the featurevalue
- the new value for the featureObject getFeature(String name)
name
- the name of the featureboolean isPresent(String name)
name
- the feature to look fortrue
if the feature is present;
otherwise false
.WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses