diff options
Diffstat (limited to 'moses/src/StaticData.cpp')
-rw-r--r-- | moses/src/StaticData.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/moses/src/StaticData.cpp b/moses/src/StaticData.cpp index d25a33003..fc920ef07 100644 --- a/moses/src/StaticData.cpp +++ b/moses/src/StaticData.cpp @@ -456,12 +456,12 @@ bool StaticData::LoadData(Parameter *parameter) if (vecStr.size() == 1) { sentenceID++; - Phrase phrase(Output, 0); + Phrase phrase(0); phrase.CreateFromString(GetOutputFactorOrder(), vecStr[0], GetFactorDelimiter()); m_constraints.insert(make_pair(sentenceID,phrase)); } else if (vecStr.size() == 2) { sentenceID = Scan<long>(vecStr[0]); - Phrase phrase(Output, 0); + Phrase phrase(0); phrase.CreateFromString(GetOutputFactorOrder(), vecStr[1], GetFactorDelimiter()); m_constraints.insert(make_pair(sentenceID,phrase)); } else { |