summaryrefslogtreecommitdiff
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
commit139a18363ea903d94f42680731d444ba042895c5 (patch)
treec2ebf50b609e4e859a51761d33e86f38a853dc67
parentc55f37fee9f43c0a13b47aac512804ecf9f5bd48 (diff)
More logging for normalization
-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