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:
Diffstat (limited to 'moses/TranslationModel/CYKPlusParser/ChartRuleLookupManagerMemory.cpp')
-rw-r--r--moses/TranslationModel/CYKPlusParser/ChartRuleLookupManagerMemory.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/moses/TranslationModel/CYKPlusParser/ChartRuleLookupManagerMemory.cpp b/moses/TranslationModel/CYKPlusParser/ChartRuleLookupManagerMemory.cpp
index 64d3d87b4..ad6773fc8 100644
--- a/moses/TranslationModel/CYKPlusParser/ChartRuleLookupManagerMemory.cpp
+++ b/moses/TranslationModel/CYKPlusParser/ChartRuleLookupManagerMemory.cpp
@@ -42,7 +42,7 @@ ChartRuleLookupManagerMemory::ChartRuleLookupManagerMemory(
, m_ruleTable(ruleTable)
{
UTIL_THROW_IF2(m_dottedRuleColls.size() != 0,
- "Dotted rule collection not correctly initialized");
+ "Dotted rule collection not correctly initialized");
size_t sourceSize = parser.GetSize();
m_dottedRuleColls.resize(sourceSize);
@@ -179,8 +179,8 @@ void ChartRuleLookupManagerMemory::GetChartRuleCollection(
dottedRuleCol.Add(relEndPos+1, dottedRule);
}
}
- // we only need to check once if a terminal matches the input at a given position.
- expandableDottedRuleListTerminalsOnly.erase(it);
+ // we only need to check once if a terminal matches the input at a given position.
+ expandableDottedRuleListTerminalsOnly.erase(it);
}
// list of rules that that cover the entire span