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:
authorNicola Bertoldi <bertoldi@fbk.eu>2014-01-15 19:42:02 +0400
committerNicola Bertoldi <bertoldi@fbk.eu>2014-01-15 19:42:02 +0400
commitbd83999264407dd7970736ee3e70a6b39fb19014 (patch)
tree1a0a0d9bab2b8caf853c301187beb637b0a1af61 /moses/ChartParser.cpp
parenta098550f33dd1eead0e72a98a4822ce924841550 (diff)
beautify
Diffstat (limited to 'moses/ChartParser.cpp')
-rw-r--r--moses/ChartParser.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/moses/ChartParser.cpp b/moses/ChartParser.cpp
index dac7e85a0..7ff271c5b 100644
--- a/moses/ChartParser.cpp
+++ b/moses/ChartParser.cpp
@@ -204,7 +204,7 @@ void ChartParser::CreateInputPaths(const InputType &input)
m_inputPathMatrix.resize(size);
UTIL_THROW_IF2(input.GetType() != SentenceInput && input.GetType() != TreeInputType,
- "Input must be a sentence or a tree, not lattice or confusion networks");
+ "Input must be a sentence or a tree, not lattice or confusion networks");
for (size_t phaseSize = 1; phaseSize <= size; ++phaseSize) {
for (size_t startPos = 0; startPos < size - phaseSize + 1; ++startPos) {
size_t endPos = startPos + phaseSize -1;
@@ -238,7 +238,7 @@ const InputPath &ChartParser::GetInputPath(size_t startPos, size_t endPos) const
{
size_t offset = endPos - startPos;
UTIL_THROW_IF2(offset >= m_inputPathMatrix[startPos].size(),
- "Out of bound: " << offset);
+ "Out of bound: " << offset);
return *m_inputPathMatrix[startPos][offset];
}
@@ -246,7 +246,7 @@ InputPath &ChartParser::GetInputPath(size_t startPos, size_t endPos)
{
size_t offset = endPos - startPos;
UTIL_THROW_IF2(offset >= m_inputPathMatrix[startPos].size(),
- "Out of bound: " << offset);
+ "Out of bound: " << offset);
return *m_inputPathMatrix[startPos][offset];
}
/*