diff --git a/libwccl/ops/tagrulesequence.cpp b/libwccl/ops/tagrulesequence.cpp index 73912941ba2ddafae855f68a66dbca5cba2d7daa..353a37e821b45c4d635bd04481a622424f4f9a13 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); }