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

fix Tset's tagset-aware string representation

parent 607acaf4
Branches
No related merge requests found
...@@ -12,7 +12,7 @@ std::string TSet::to_raw_string() const ...@@ -12,7 +12,7 @@ std::string TSet::to_raw_string() const
std::string TSet::to_string(const Corpus2::Tagset& tagset) const std::string TSet::to_string(const Corpus2::Tagset& tagset) const
{ {
return tagset.tag_to_symbol_string(tag_); return "{" + tagset.tag_to_symbol_string(tag_) + "}";
} }
std::string TSet::var_repr(const std::string &var_name) std::string TSet::var_repr(const std::string &var_name)
......
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