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-08-31 04:37:15 +0400
committerHieu Hoang <hieuhoang@gmail.com>2013-08-31 04:37:15 +0400
commitaf6b1f2b4e40a95b0a606459dfffe6e2b4c6da85 (patch)
tree1a84e1de0ce9aea7c27eb96ee7186e05dd99e129 /moses/Phrase.h
parent769f2fe00c817a47c82cf3cfab6cdc94bfb06949 (diff)
start on forced decoding for SCFG
Diffstat (limited to 'moses/Phrase.h')
-rw-r--r--moses/Phrase.h2
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