diff options
author | Hieu Hoang <hieu@hoang.co.uk> | 2013-07-19 20:41:52 +0400 |
---|---|---|
committer | Hieu Hoang <hieu@hoang.co.uk> | 2013-07-19 20:41:52 +0400 |
commit | 04801de0aedd82f0671b21671293a273de87bff3 (patch) | |
tree | 61c1475b306f8dab3b232ba5978638d423c3a7c8 /moses/InputPath.h | |
parent | e528921e44576297fa225bee6df58e4994140ac2 (diff) |
support for placeholder in pb model
Diffstat (limited to 'moses/InputPath.h')
-rw-r--r-- | moses/InputPath.h | 4 |
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) |