ControlRecombinationState::ControlRecombinationState(const Hypothesis &hypo, const ControlRecombination &ff) :m_ff(ff) { if (ff.GetType() == SameOutput) { //UTIL_THROW(util::Exception, "Implemented not yet completed for phrase-based model. Need to take into account the coverage"); hypo.GetOutputPhrase(m_outputPhrase); } else { m_hypo = &hypo; } }
ConstrainedDecodingState::ConstrainedDecodingState(const Hypothesis &hypo) { hypo.GetOutputPhrase(m_outputPhrase); }