From a5674e4b5cd6784ca8ac259ef7f4af94d5c1a224 Mon Sep 17 00:00:00 2001 From: Adam Wardynski <award@.(win7-laptop)> Date: Fri, 6 May 2011 00:49:52 +0200 Subject: [PATCH] Update string representation of TagRulesSequence. --- libwccl/ops/tagrulesequence.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libwccl/ops/tagrulesequence.cpp b/libwccl/ops/tagrulesequence.cpp index 7391294..353a37e 100644 --- a/libwccl/ops/tagrulesequence.cpp +++ b/libwccl/ops/tagrulesequence.cpp @@ -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); } -- GitLab