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

use loose tag parsing in output corpuses in data rule tests

parent bae07fb4
Branches
No related merge requests found
......@@ -102,6 +102,7 @@ void test_one_rule_item_actual(const rule_compare_test& c)
BOOST_ERROR("Empty chunk loaded");
}
Corpus2::XcesReader xr(tagset, c.output_corpus.string());
xr.set_option("loose");
boost::shared_ptr<Corpus2::Chunk> expected = xr.get_next_chunk();
BOOST_REQUIRE_EQUAL(chunk->sentences().size(), expected->sentences().size());
Wccl::Parser parser(tagset);
......
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