diff options
author | Hieu Hoang <hieu@hoang.co.uk> | 2014-03-20 16:30:14 +0400 |
---|---|---|
committer | Hieu Hoang <hieu@hoang.co.uk> | 2014-03-20 16:30:14 +0400 |
commit | 4c7ea7fe08eac11d9a6158caef759ebe30a02874 (patch) | |
tree | b6c1daf17bf90609f420f5e790e19d98b84d7ae1 /contrib/other-builds/extract-mixed-syntax | |
parent | 3e8f5730e7a9b4d88ffbf92257d970431ca71a75 (diff) |
delete debugging messages
Diffstat (limited to 'contrib/other-builds/extract-mixed-syntax')
-rw-r--r-- | contrib/other-builds/extract-mixed-syntax/AlignedSentenceSyntax.cpp | 1 | ||||
-rw-r--r-- | contrib/other-builds/extract-mixed-syntax/SyntaxTree.cpp | 5 |
2 files changed, 5 insertions, 1 deletions
diff --git a/contrib/other-builds/extract-mixed-syntax/AlignedSentenceSyntax.cpp b/contrib/other-builds/extract-mixed-syntax/AlignedSentenceSyntax.cpp index ace626719..e000aaeeb 100644 --- a/contrib/other-builds/extract-mixed-syntax/AlignedSentenceSyntax.cpp +++ b/contrib/other-builds/extract-mixed-syntax/AlignedSentenceSyntax.cpp @@ -116,7 +116,6 @@ void AlignedSentenceSyntax::XMLParse(Phrase &output, // fill syntax labels if (!label.empty()) { label = "[" + label + "]"; - //cerr << "add " << label << " to " << "[" << startPos << "-" << endPos << "]" << endl; tree.Add(startPos, endPos, label, params); } diff --git a/contrib/other-builds/extract-mixed-syntax/SyntaxTree.cpp b/contrib/other-builds/extract-mixed-syntax/SyntaxTree.cpp index ce0103d33..472444e7c 100644 --- a/contrib/other-builds/extract-mixed-syntax/SyntaxTree.cpp +++ b/contrib/other-builds/extract-mixed-syntax/SyntaxTree.cpp @@ -1,9 +1,14 @@ #include <cassert> +#include <iostream> #include "SyntaxTree.h" #include "Parameter.h" +using namespace std; + void SyntaxTree::Add(int startPos, int endPos, const std::string &label, const Parameter ¶ms) { + //cerr << "add " << label << " to " << "[" << startPos << "-" << endPos << "]" << endl; + Range range(startPos, endPos); Labels &labels = m_coll[range]; |