summaryrefslogtreecommitdiff
path: root/realtime/rt
diff options
context:
space:
mode:
authorMichael Denkowski <mdenkows@cs.cmu.edu>2013-09-05 14:22:32 -0700
committerMichael Denkowski <mdenkows@cs.cmu.edu>2013-09-05 14:22:32 -0700
commitee1d45810c869411c6c3b7c6de366393882a2efe (patch)
tree6d7142b779c51a0463ba2bfa6f193f65cc98fff1 /realtime/rt
parentbef5c40937619e8360a87f988f204ba0ff2ad300 (diff)
More logging for normalization
Diffstat (limited to 'realtime/rt')
-rw-r--r--realtime/rt/rt.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/realtime/rt/rt.py b/realtime/rt/rt.py
index 2930c212..892cc217 100644
--- a/realtime/rt/rt.py
+++ b/realtime/rt/rt.py
@@ -116,6 +116,7 @@ class RealtimeDecoder:
self.ref_fifo.write('\n')
self.ref_fifo.flush()
if self.norm:
+ logging.info('Normalized translation: {}'.format(hyp))
hyp = self.detokenize(hyp)
return hyp