add ControlRecombination feature function

This commit is contained in:
Hieu Hoang 2013-07-23 01:38:08 +01:00
parent 42c1c908a5
commit 1e906bea73

View File

@ -58,7 +58,7 @@ int ControlRecombinationState::Compare(const FFState& other) const
const ControlRecombinationState &other2 = static_cast<const ControlRecombinationState&>(other); const ControlRecombinationState &other2 = static_cast<const ControlRecombinationState&>(other);
const Hypothesis *otherHypo = other2.m_hypo; const Hypothesis *otherHypo = other2.m_hypo;
const Phrase thisOutputPhrase, otherOutputPhrase; Phrase thisOutputPhrase, otherOutputPhrase;
m_hypo->GetOutputPhrase(thisOutputPhrase); m_hypo->GetOutputPhrase(thisOutputPhrase);
otherHypo->GetOutputPhrase(otherOutputPhrase); otherHypo->GetOutputPhrase(otherOutputPhrase);