diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2014-07-11 14:15:06 +0400 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2014-07-11 14:15:06 +0400 |
commit | da825e844ba446641672d726d4ba9118d7c5b458 (patch) | |
tree | 0af46f73962a3847a3cfae3a0b425a30173b635a /moses/ChartHypothesis.h | |
parent | a209d0ed184e74117f3aaf2c9261e473cae98457 (diff) |
1st rough sketch. compiles with eclipse
Diffstat (limited to 'moses/ChartHypothesis.h')
-rw-r--r-- | moses/ChartHypothesis.h | 4 |
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(); |