diff --git a/libmwereader/mwe.cpp b/libmwereader/mwe.cpp index 9397a4f1f486afc0024c920da88ec60b0179ce33..8db796cc39e18bcb871007a0407af8d7c9f0edb5 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 c4453f140b011f2131fcb02dbff16a106ad1e46d..5f47abe17be94ea1a37ebce8463a4d8e266cb6f1 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_)));