diff options
Diffstat (limited to 'decoder')
-rw-r--r-- | decoder/trule.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/decoder/trule.cc b/decoder/trule.cc index eedf8f30..9820e6d5 100644 --- a/decoder/trule.cc +++ b/decoder/trule.cc @@ -272,6 +272,11 @@ string TRule::AsString(bool verbose) const { } if (!scores_.empty() && verbose) { os << " ||| " << scores_; + if (!a_.empty()) { + os << " |||"; + for (int i = 0; i < a_.size(); ++i) + os << ' ' << a_[i]; + } } return os.str(); } |