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 <hieu@hoang.co.uk>2013-07-19 20:41:52 +0400
committerHieu Hoang <hieu@hoang.co.uk>2013-07-19 20:41:52 +0400
commit04801de0aedd82f0671b21671293a273de87bff3 (patch)
tree61c1475b306f8dab3b232ba5978638d423c3a7c8 /moses/InputPath.h
parente528921e44576297fa225bee6df58e4994140ac2 (diff)
support for placeholder in pb model
Diffstat (limited to 'moses/InputPath.h')
-rw-r--r--moses/InputPath.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/moses/InputPath.h b/moses/InputPath.h
index 691f330bf..eca62e30c 100644
--- a/moses/InputPath.h
+++ b/moses/InputPath.h
@@ -12,7 +12,7 @@ namespace Moses
class PhraseDictionary;
class TargetPhraseCollection;
class ScoreComponentCollection;
-class AlignmentInfo;
+class TargetPhrase;
class InputPath;
typedef std::list<InputPath*> InputPathList;
@@ -40,7 +40,7 @@ protected:
std::vector<TargetPhraseCollection> m_copiedSet;
std::vector<size_t> m_placeholders;
- bool IsCompatibleWithPlaceholders(const AlignmentInfo &alignments) const;
+ bool SetPlaceholders(TargetPhrase *targetPhrase) const;
public:
explicit InputPath()
: m_prevNode(NULL)