org.maltparser.parser.guide.feature
Class TransitionFeature
java.lang.Object
org.maltparser.parser.guide.feature.Feature
org.maltparser.parser.guide.feature.AtomicFeature
org.maltparser.parser.guide.feature.TransitionFeature
public final class TransitionFeature
- extends AtomicFeature
TODO: NB not tested yet, probably wrong behavior
- Since:
- 1.0
- Author:
- Johan Hall
Methods inherited from class org.maltparser.parser.guide.feature.Feature |
getCardinality, getFirstIntegerValue, getFirstStringValue, getIntegerValues, getParsingAlgorithm, getStringValues, getValues, init, initialize, isKnown, isNullValue, setCardinality, setParsingAlgorithm |
TransitionFeature
public TransitionFeature(ParsingAlgorithm parsingAlgorithm,
String spec)
throws MaltChainedException
- Throws:
MaltChainedException
init
public boolean init(String spec)
- Specified by:
init
in class Feature
update
public void update()
throws MaltChainedException
- Specified by:
update
in class Feature
- Throws:
MaltChainedException
setValue
public void setValue(Integer value)
- Specified by:
setValue
in class Feature
setValue
public void setValue(String value)
- Specified by:
setValue
in class Feature
getStringValue
public String getStringValue(Integer value)
throws MaltChainedException
- Specified by:
getStringValue
in class Feature
- Throws:
MaltChainedException
getIntegerValue
public Integer getIntegerValue(String value)
throws MaltChainedException
- Specified by:
getIntegerValue
in class Feature
- Throws:
MaltChainedException
updateCardinality
public void updateCardinality()
- Specified by:
updateCardinality
in class Feature
equals
public boolean equals(Object obj)
- Overrides:
equals
in class AtomicFeature
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class AtomicFeature
Copyright 2007 Johan Hall, Jens Nilsson and Joakim Nivre.