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

rm debug

parent c03647e8
No related branches found
No related tags found
No related merge requests found
......@@ -129,7 +129,6 @@ void CclReaderImpl::start_chunk(const AttributeList& attributes)
chunk_->set_attribute(a.name, a.value);
}
state_ = STATE_CHUNK;
std::cerr << "Chunk";
}
......
......@@ -56,7 +56,7 @@ std::string XmlReader::get_type_from_attributes(const AttributeList& attributes)
void XmlReader::on_start_element(const Glib::ustring &name,
const AttributeList& attributes)
{
std::cerr << name << state_ << "\n";
//std::cerr << name << state_ << "\n";
if (state_ == STATE_NONE && name == "chunk") {
start_chunk(attributes);
} else if (state_ == STATE_CHUNK && name == sentence_tag_name_) {
......@@ -180,7 +180,6 @@ void XmlReader::start_lexeme(const AttributeList &attributes)
void XmlReader::finish_chunk()
{
std::cerr << "FC\n";
assert(chunk_);
obuf_.push_back(chunk_);
chunk_.reset();
......@@ -212,8 +211,7 @@ void XmlReader::finish_token()
void XmlReader::on_end_element(const Glib::ustring &name)
{
std::cerr << "/" << name << state_ << "\n";
//std::cerr << "/" << name << state_ << "\n";
if (state_ == STATE_ORTH && name == "orth") {
tok_->set_orth(UnicodeString::fromUTF8(get_buf()));
grab_characters_ = false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment