diff options
author | Hieu Hoang <hieu@hoang.co.uk> | 2014-08-04 18:59:32 +0400 |
---|---|---|
committer | Hieu Hoang <hieu@hoang.co.uk> | 2014-08-04 18:59:32 +0400 |
commit | abe68be588db3a96c5e247162b72054cbc146031 (patch) | |
tree | edb78d01cf80c027486b9a5aad03fe500934add1 /moses/TargetPhrase.cpp | |
parent | 3f3912772dca06e1b4095e1db205e7ba0e6c6551 (diff) |
initialise m_container
Diffstat (limited to 'moses/TargetPhrase.cpp')
-rw-r--r-- | moses/TargetPhrase.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/moses/TargetPhrase.cpp b/moses/TargetPhrase.cpp index 433286b93..002258cdd 100644 --- a/moses/TargetPhrase.cpp +++ b/moses/TargetPhrase.cpp @@ -50,7 +50,7 @@ TargetPhrase::TargetPhrase() { } -TargetPhrase::TargetPhrase(const Phrase &phrase) +TargetPhrase::TargetPhrase(const Phrase &phrase, const PhraseDictionary *pt) : Phrase(phrase) , m_fullScore(0.0) , m_futureScore(0.0) @@ -58,7 +58,7 @@ TargetPhrase::TargetPhrase(const Phrase &phrase) , m_alignNonTerm(&AlignmentInfoCollection::Instance().GetEmptyAlignmentInfo()) , m_lhsTarget(NULL) , m_ruleSource(NULL) - , m_container(NULL) + , m_container(pt) { } |