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

Update string representation of TagRulesSequence.

parent f6a74e19
No related branches found
No related tags found
No related merge requests found
......@@ -44,10 +44,10 @@ int TagRuleSequence::execute_until_done(const boost::shared_ptr<Corpus2::Sentenc
std::string TagRuleSequence::to_string(const Corpus2::Tagset& tagset) const
{
std::ostringstream os;
os << "rules(";
os << "tag_rules(";
for (size_t i = 0; i < size(); ++i) {
if (i != 0) {
os << ", \n";
os << ";\n";
}
os << at(i).to_string(tagset);
}
......@@ -57,10 +57,10 @@ std::string TagRuleSequence::to_string(const Corpus2::Tagset& tagset) const
std::ostream& TagRuleSequence::write_to(std::ostream &os) const
{
os << "rules(";
os << "tag_rules(";
for (size_t i = 0; i < size(); ++i) {
if (i != 0) {
os << ", \n";
os << ";\n";
}
os << at(i);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment