diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2013-08-31 04:37:15 +0400 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2013-08-31 04:37:15 +0400 |
commit | af6b1f2b4e40a95b0a606459dfffe6e2b4c6da85 (patch) | |
tree | 1a84e1de0ce9aea7c27eb96ee7186e05dd99e129 /moses/Phrase.h | |
parent | 769f2fe00c817a47c82cf3cfab6cdc94bfb06949 (diff) |
start on forced decoding for SCFG
Diffstat (limited to 'moses/Phrase.h')
-rw-r--r-- | moses/Phrase.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/moses/Phrase.h b/moses/Phrase.h index 93aaeff42..8d1e0989f 100644 --- a/moses/Phrase.h +++ b/moses/Phrase.h @@ -128,6 +128,8 @@ public: bool Contains(const std::vector< std::vector<std::string> > &subPhraseVector , const std::vector<FactorType> &inputFactor) const; + bool Contains(const Phrase &sought) const; + //! create an empty word at the end of the phrase Word &AddWord(); //! create copy of input word at the end of the phrase |