You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@joshua.apache.org by mj...@apache.org on 2016/05/25 20:38:21 UTC

[5/5] incubator-joshua git commit: bugfix: wasn't incrementing k!

bugfix: wasn't incrementing k!


Project: http://git-wip-us.apache.org/repos/asf/incubator-joshua/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-joshua/commit/31c66f2e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-joshua/tree/31c66f2e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-joshua/diff/31c66f2e

Branch: refs/heads/JOSHUA-273
Commit: 31c66f2e70a8b7b415905871a3e1516279d62fb1
Parents: fb0f6ab
Author: Matt Post <po...@cs.jhu.edu>
Authored: Wed May 25 16:37:35 2016 -0400
Committer: Matt Post <po...@cs.jhu.edu>
Committed: Wed May 25 16:37:35 2016 -0400

----------------------------------------------------------------------
 src/joshua/decoder/Decoder.java | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/31c66f2e/src/joshua/decoder/Decoder.java
----------------------------------------------------------------------
diff --git a/src/joshua/decoder/Decoder.java b/src/joshua/decoder/Decoder.java
index 1a48110..c3850a3 100644
--- a/src/joshua/decoder/Decoder.java
+++ b/src/joshua/decoder/Decoder.java
@@ -514,6 +514,8 @@ public class Decoder {
           String bestString = t.getFormattedTranslation();
           out.write(bestString.getBytes());
           out.write("\n".getBytes());
+          
+          k++;
         }
       }
       out.flush();