edu.umd.hooka.alignment.hmm
Class HMM_NullWord

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
              extended by edu.umd.hooka.alignment.hmm.HMM
                  extended by edu.umd.hooka.alignment.hmm.HMM_NullWord

public class HMM_NullWord
extends HMM

Represents an HMM that applies to a single sentence pair, which is derived from the parameters stored in a TTable and an ATable object.

Author:
redpony

Field Summary
 
Fields inherited from class edu.umd.hooka.alignment.hmm.HMM
ACOUNT_VOC_ID
 
Constructor Summary
HMM_NullWord(TTable ttable, ATable atable, double p0)
           
 
Method Summary
 void buildHMMTables(PhrasePair pp)
           
 
Methods inherited from class edu.umd.hooka.alignment.hmm.HMM
addPartialJumpCountsToATable, baumWelch, computeAlignmentPosteriors, getEmissionProb, getNumStates, getTransitionProb, processTrainingInstance, setModel1Posteriors, viterbiAlign, writePartialCounts
 
Methods inherited from class edu.umd.hooka.alignment.model1.Model1
clearModel, realViterbiAlign
 
Methods inherited from class edu.umd.hooka.alignment.model1.Model1Base
addPartialTranslationCountsToTTable
 
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

HMM_NullWord

public HMM_NullWord(TTable ttable,
                    ATable atable,
                    double p0)
Parameters:
ttable -
atable -
p0 - - set to less than zero if it should be trained
Method Detail

buildHMMTables

public void buildHMMTables(PhrasePair pp)
Overrides:
buildHMMTables in class HMM