ABL4J (Alignment Based Learning for Java) - 0.9.7

org.schwiebert.abl4j.select.methods
Class ConstituentSelectMethod

java.lang.Object
  extended by org.schwiebert.abl4j.select.methods.AbstractSelectMethod
      extended by 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.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.schwiebert.abl4j.select.methods.AbstractSelectMethod
AbstractSelectMethod.SelectThread
 
Constructor Summary
ConstituentSelectMethod()
           
 
Method Summary
 double computeCombinedProbability(ITree<?> t, Vector<IConstituent<?>> vc, ProbabilityStore prob)
           
 Phrase createPhrase(ITree<?> t, IConstituent<?> cons, int c)
           
 
Methods inherited from class org.schwiebert.abl4j.select.methods.AbstractSelectMethod
computeProbability, configure, select
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConstituentSelectMethod

public ConstituentSelectMethod()
Method Detail

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

ABL4J (Alignment Based Learning for Java) - 0.9.7

© 2007 Stephan Schwiebert