Skip to content
Snippets Groups Projects
Commit 9bdf6b88 authored by omekr's avatar omekr
Browse files

remove debug info

parent e5f3b925
No related branches found
No related tags found
No related merge requests found
......@@ -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_;
......
......@@ -49,7 +49,7 @@ bool MWEReader::registered = TokenReader::register_path_reader<MWEReader>(
if(lex.is_disamb()){
std::string base = lex.lemma_utf8();
const MWEIndex::luvec& potential = mwe_index_.get_potential_lu(base);
std::cout << "potential " << potential.size() << std::endl;
//std::cout << "potential " << potential.size() << std::endl;
foreach(LexicalUnit::Ptr pLU, potential){
std::set<int> positions;
int head;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment