From 3c83ab58adab213edd148286b355d422fe30d897 Mon Sep 17 00:00:00 2001 From: Patrick Simianer
Date: Fri, 3 Nov 2017 15:30:55 +0100 Subject: logging --- server-neural.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'server-neural.rb') 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"] -- cgit v1.2.3