mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-28 14:32:38 +03:00
add ControlRecombination feature function
This commit is contained in:
parent
42c1c908a5
commit
1e906bea73
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user