From 5ebb81a17af4008768f8fd93d7ad31442325f47c Mon Sep 17 00:00:00 2001 From: Hieu Hoang Date: Tue, 17 Sep 2013 15:06:17 +0200 Subject: constrained decoding FF works for both pb and hiero --- moses/Hypothesis.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'moses/Hypothesis.h') diff --git a/moses/Hypothesis.h b/moses/Hypothesis.h index 2200afb31..7d833073c 100644 --- a/moses/Hypothesis.h +++ b/moses/Hypothesis.h @@ -99,7 +99,7 @@ public: ~Hypothesis(); /** return the subclass of Hypothesis most appropriate to the given translation option */ - static Hypothesis* Create(const Hypothesis &prevHypo, const TranslationOption &transOpt, const Phrase* constraint); + static Hypothesis* Create(const Hypothesis &prevHypo, const TranslationOption &transOpt); static Hypothesis* Create(Manager& manager, const WordsBitmap &initialCoverage); @@ -107,7 +107,7 @@ public: static Hypothesis* Create(Manager& manager, InputType const& source, const TranslationOption &initialTransOpt); /** return the subclass of Hypothesis most appropriate to the given translation option */ - Hypothesis* CreateNext(const TranslationOption &transOpt, const Phrase* constraint) const; + Hypothesis* CreateNext(const TranslationOption &transOpt) const; void PrintHypothesis() const; -- cgit v1.2.3