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/09/15 11:44:42 UTC

incubator-joshua git commit: Fixed NoGrammarTest for 7

Repository: incubator-joshua
Updated Branches:
  refs/heads/7 8ba242ec8 -> c2747787a


Fixed NoGrammarTest for 7


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

Branch: refs/heads/7
Commit: c2747787ae222a36362be2de8cc2e5e26fcc01fb
Parents: 8ba242e
Author: Hieber, Felix <fh...@amazon.de>
Authored: Thu Sep 15 13:43:02 2016 +0200
Committer: Hieber, Felix <fh...@amazon.de>
Committed: Thu Sep 15 13:43:02 2016 +0200

----------------------------------------------------------------------
 .../src/test/java/org/apache/joshua/decoder/cky/NoGrammarTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/c2747787/joshua-core/src/test/java/org/apache/joshua/decoder/cky/NoGrammarTest.java
----------------------------------------------------------------------
diff --git a/joshua-core/src/test/java/org/apache/joshua/decoder/cky/NoGrammarTest.java b/joshua-core/src/test/java/org/apache/joshua/decoder/cky/NoGrammarTest.java
index 398fb79..cae9c4d 100644
--- a/joshua-core/src/test/java/org/apache/joshua/decoder/cky/NoGrammarTest.java
+++ b/joshua-core/src/test/java/org/apache/joshua/decoder/cky/NoGrammarTest.java
@@ -30,7 +30,7 @@ import org.testng.annotations.Test;
 public class NoGrammarTest {
 
 	private static final String INPUT = "those who hurt others hurt themselves";
-	private static final String GOLD = "0 ||| those_OOV who_OOV hurt_OOV others_OOV hurt_OOV themselves_OOV ||| tm_glue_0=6.000 ||| 0.000";
+	private static final String GOLD = "0 ||| those_OOV who_OOV hurt_OOV others_OOV hurt_OOV themselves_OOV ||| glue_0=-6.000000 ||| 0.000";
 	
 	private JoshuaConfiguration joshuaConfig = null;
 	private Decoder decoder = null;