Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHieu Hoang <hieuhoang@gmail.com>2013-09-17 17:06:17 +0400
committerHieu Hoang <hieuhoang@gmail.com>2013-09-17 17:06:17 +0400
commit5ebb81a17af4008768f8fd93d7ad31442325f47c (patch)
treece039914c5be207f06f663d944767e0b0eaf222d /moses/Hypothesis.h
parent764684bb6f7b00bad9c79f0dc6d88bdc8093d20f (diff)
constrained decoding FF works for both pb and hiero
Diffstat (limited to 'moses/Hypothesis.h')
-rw-r--r--moses/Hypothesis.h4
1 files changed, 2 insertions, 2 deletions
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;