Skip to content
Snippets Groups Projects
Commit f69b560e authored by ilor's avatar ilor
Browse files

rm debug output in tests

parent 1f7f8adc
No related merge requests found
......@@ -95,6 +95,8 @@ void XcesReader::set_option(const std::string& option)
impl_->set_loose_tag_parsing(true);
} else if (option == "strict") {
impl_->set_loose_tag_parsing(false);
} else if (option == "no_warn_inconsistent") {
impl_->set_warn_on_inconsistent(false);
}
}
......
......@@ -119,7 +119,7 @@ BOOST_AUTO_TEST_CASE( io_oo )
std::stringstream ssin;
ssin << swiatopoglad_broken;
Corpus2::XcesReader xr(tagset, ssin);
//xr.set_warn_on_inconsistent(false)
xr.set_option("no_warn_inconsistent");
boost::shared_ptr<Corpus2::Chunk> chunk = xr.get_next_chunk();
std::stringstream ss;
boost::shared_ptr<Corpus2::TokenWriter> w(Corpus2::TokenWriter::create("xces,flat", ss, tagset));
......
......@@ -128,7 +128,7 @@ BOOST_AUTO_TEST_CASE( iobase )
BOOST_CHECK_EQUAL(meh->tokens()[1]->orth_utf8(), "Uważam że");
BOOST_CHECK_EQUAL(meh->tokens()[2]->orth_utf8(), "światopogląd");
std::cerr << as->annotation_info();
//std::cerr << as->annotation_info();
}
BOOST_AUTO_TEST_SUITE_END();
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment