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>2014-07-11 14:15:06 +0400
committerHieu Hoang <hieuhoang@gmail.com>2014-07-11 14:15:06 +0400
commitda825e844ba446641672d726d4ba9118d7c5b458 (patch)
tree0af46f73962a3847a3cfae3a0b425a30173b635a /moses/ChartHypothesis.h
parenta209d0ed184e74117f3aaf2c9261e473cae98457 (diff)
1st rough sketch. compiles with eclipse
Diffstat (limited to 'moses/ChartHypothesis.h')
-rw-r--r--moses/ChartHypothesis.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/moses/ChartHypothesis.h b/moses/ChartHypothesis.h
index 12050e764..3f159d222 100644
--- a/moses/ChartHypothesis.h
+++ b/moses/ChartHypothesis.h
@@ -138,6 +138,10 @@ public:
void GetOutputPhrase(Phrase &outPhrase) const;
Phrase GetOutputPhrase() const;
+ // get leftmost/rightmost words only
+ // leftRightMost: 1=left, 2=right
+ void GetOutputPhrase(int leftRightMost, int numWords, Phrase &outPhrase) const;
+
int RecombineCompare(const ChartHypothesis &compare) const;
void Evaluate();