summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2017-11-03 15:30:55 +0100
committerPatrick Simianer <p@simianer.de>2017-11-03 15:30:55 +0100
commit3c83ab58adab213edd148286b355d422fe30d897 (patch)
treea8d6983f8d9b2cf83c058e7c96526bd83b698624
parent93bdac797ed3cf04a427e276823f9896dcf19a2d (diff)
logging
-rwxr-xr-xserver-neural.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/server-neural.rb b/server-neural.rb
index e8915b4..6d6c9d9 100755
--- a/server-neural.rb
+++ b/server-neural.rb
@@ -297,6 +297,7 @@ def process_next reply
obj["source"] = source
obj["progress"] = $db['progress']
obj["raw_source"] = raw_source
+ logmsg :server, "#{obj["transl_bpe"]}"
$db["mt_raw_bpe"] << obj["transl_bpe"]
$db["mt_raw"] << obj["transl"]
$db["mt"] << obj["transl_detok"]