Skip to content
Snippets Groups Projects
Commit fa1303ca authored by Adam Wardynski's avatar Adam Wardynski
Browse files

Add parentheses to string representation.

parent dbb28904
Branches
No related merge requests found
......@@ -46,13 +46,13 @@ MatchResult IsAnnotatedAs::apply(const ActionExecContext& context) const
std::string IsAnnotatedAs::to_string(const Corpus2::Tagset& tagset) const
{
std::ostringstream os;
os << name() << "(" << chan_name_ << ")";
os << name() << "(\"" << chan_name_ << "\")";
return os.str();
}
std::ostream& IsAnnotatedAs::write_to(std::ostream& os) const
{
return os << name() << "(" << chan_name_ << ")";
return os << name() << "(\"" << chan_name_ << "\")";
}
} /* end ns Wccl */
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