edu.umd.hooka.alignment.model1
Class Model1_InitUniform

java.lang.Object
  extended by edu.umd.hooka.alignment.AlignmentModel
      extended by edu.umd.hooka.alignment.model1.Model1Base
          extended by edu.umd.hooka.alignment.model1.Model1_InitUniform

public class Model1_InitUniform
extends Model1Base


Constructor Summary
Model1_InitUniform(boolean useNullWord)
           
 
Method Summary
 void clearModel()
           
 AlignmentPosteriorGrid computeAlignmentPosteriors(PhrasePair pp)
           
 void processTrainingInstance(PhrasePair pp, Reporter reporter)
           
 Alignment viterbiAlign(PhrasePair pp, PerplexityReporter r)
           
 
Methods inherited from class edu.umd.hooka.alignment.model1.Model1Base
addPartialTranslationCountsToTTable, writePartialCounts
 
Methods inherited from class edu.umd.hooka.alignment.AlignmentModel
addAlignmentListener
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Model1_InitUniform

public Model1_InitUniform(boolean useNullWord)
Method Detail

processTrainingInstance

public void processTrainingInstance(PhrasePair pp,
                                    Reporter reporter)
Specified by:
processTrainingInstance in class AlignmentModel

clearModel

public void clearModel()
Specified by:
clearModel in class AlignmentModel

viterbiAlign

public Alignment viterbiAlign(PhrasePair pp,
                              PerplexityReporter r)
Specified by:
viterbiAlign in class AlignmentModel

computeAlignmentPosteriors

public AlignmentPosteriorGrid computeAlignmentPosteriors(PhrasePair pp)
Specified by:
computeAlignmentPosteriors in class AlignmentModel