org.schwiebert.abl4j.select.methods
Class ConstituentSelectMethod
java.lang.Object
org.schwiebert.abl4j.select.methods.AbstractSelectMethod
org.schwiebert.abl4j.select.methods.ConstituentSelectMethod
- All Implemented Interfaces:
- IConfigurable, SelectMethod
public class ConstituentSelectMethod
- extends AbstractSelectMethod
In addition to only consider the word of the sentence delimited by
the hypothesis as in the method leaf, this model computes the
probability based on the words of the hypothesis and its type label.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConstituentSelectMethod
public ConstituentSelectMethod()
createPhrase
public Phrase createPhrase(ITree<?> t,
IConstituent<?> cons,
int c)
- Specified by:
createPhrase in class AbstractSelectMethod
computeCombinedProbability
public double computeCombinedProbability(ITree<?> t,
Vector<IConstituent<?>> vc,
ProbabilityStore prob)
- Specified by:
computeCombinedProbability in class AbstractSelectMethod
© 2007 Stephan Schwiebert