From 9ec45f8f3776144f777178c5f764bb0410b7eb1a Mon Sep 17 00:00:00 2001 From: Bartosz Broda <bartosz.broda@gmail.com> Date: Thu, 18 Aug 2011 09:52:19 +0200 Subject: [PATCH] Removed comments --- libmwereader/mwe.cpp | 8 ++++---- libmwereader/mweparser.cpp | 4 +--- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/libmwereader/mwe.cpp b/libmwereader/mwe.cpp index 9397a4f..8db796c 100644 --- a/libmwereader/mwe.cpp +++ b/libmwereader/mwe.cpp @@ -32,7 +32,7 @@ bool LexicalUnit::IsHere(const Wccl::SentenceContext &sc, for(variables_map::const_iterator ivars = variables_.begin(); ivars != variables_.end(); ++ivars){ if(!boost::starts_with(ivars->first, "!")){ - std::cout << ivars->first << " " << std::endl; + //std::cout << ivars->first << " " << std::endl; condition_->set<Wccl::StrSet>(ivars->first, ivars->second); } } @@ -106,7 +106,7 @@ void MWEIndex::add_lexicalunit(LexicalUnit::Ptr lu) { foreach(const std::string& base, lu->get_potential_bases()){ value_type::iterator find = index_.find(base); - std::cout << "b:"<<base<<std::endl; + //std::cout << "b:"<<base<<std::endl; if(find == index_.end()){ // not found -> create new one luvec v; v.push_back(lu); @@ -118,8 +118,8 @@ void MWEIndex::add_lexicalunit(LexicalUnit::Ptr lu) } const MWEIndex::luvec& MWEIndex::get_potential_lu(const std::string &base){ - std::cout << "index " << index_.size()<< std::endl; - std::cout << "sb:"<<base<<std::endl; + //std::cout << "index " << index_.size()<< std::endl; + //std::cout << "sb:"<<base<<std::endl; value_type::iterator find = index_.find(base); if(find == index_.end()){ // not found -> return empty return empty_; diff --git a/libmwereader/mweparser.cpp b/libmwereader/mweparser.cpp index c4453f1..5f47abe 100644 --- a/libmwereader/mweparser.cpp +++ b/libmwereader/mweparser.cpp @@ -111,9 +111,7 @@ namespace Corpus2 { void MWEParser::on_start_element(const Glib::ustring &name, const AttributeList& attributes) { - std::cout << "about to check" << std::endl; - std::cout << state_ << ": " << name << std::endl; - std::cout << "done with check" << std::endl; + //std::cout << state_ << ": " << name << std::endl; if(state_ == NONE && name == "units_description"){ tagset_ = get_attribute(attributes, "tagset"); mwe_builder_ = boost::shared_ptr<MWEBuilder>(new MWEBuilder(Corpus2::get_named_tagset(tagset_))); -- GitLab