edu.stanford.nlp.mt
Class TPHandlerFE1

java.lang.Object
  |
  +--edu.stanford.nlp.mt.TPHandler
        |
        +--edu.stanford.nlp.mt.TPHandlerFE1

public class TPHandlerFE1
extends TPHandler

This handles the translation probability for the model p(fj,tfj|aj,e,te)=p(tfj|teaj)p(fj|eaj,[teaj,tfj])


Field Summary
 
Fields inherited from class edu.stanford.nlp.mt.TPHandler
cache, tmpPair
 
Constructor Summary
TPHandlerFE1(TTable tTable)
           
 
Method Summary
 double getProb(int i, int j)
           
 void incCount(int i, int j, double val)
          Increment the count for c(fj|ei)
 void init()
           
 void setPair(SentencePair sent)
           
 
Methods inherited from class edu.stanford.nlp.mt.TPHandler
getProb
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TPHandlerFE1

public TPHandlerFE1(TTable tTable)
Method Detail

setPair

public void setPair(SentencePair sent)
Overrides:
setPair in class TPHandler

init

public void init()
Overrides:
init in class TPHandler

getProb

public double getProb(int i,
                      int j)
Overrides:
getProb in class TPHandler

incCount

public void incCount(int i,
                     int j,
                     double val)
Increment the count for c(fj|ei)

Overrides:
incCount in class TPHandler


Stanford NLP Group