Fixed SourceAnnotationsNotUsingTest by adding missing wordpenalty feature 
function in conf


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

Branch: refs/heads/7_confsystem
Commit: 9af0dea3b0d541731cc044696a2d9841f9e1c2b6
Parents: 5a5c6d9
Author: Hieber, Felix <fhie...@amazon.de>
Authored: Mon Sep 19 08:23:02 2016 +0200
Committer: Hieber, Felix <fhie...@amazon.de>
Committed: Mon Sep 19 08:23:02 2016 +0200

----------------------------------------------------------------------
 .../apache/joshua/decoder/cky/SourceAnnotationsNotUsingTest.conf    | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/9af0dea3/joshua-core/src/test/java/org/apache/joshua/decoder/cky/SourceAnnotationsNotUsingTest.conf
----------------------------------------------------------------------
diff --git 
a/joshua-core/src/test/java/org/apache/joshua/decoder/cky/SourceAnnotationsNotUsingTest.conf
 
b/joshua-core/src/test/java/org/apache/joshua/decoder/cky/SourceAnnotationsNotUsingTest.conf
index a37e9b0..cf27edb 100644
--- 
a/joshua-core/src/test/java/org/apache/joshua/decoder/cky/SourceAnnotationsNotUsingTest.conf
+++ 
b/joshua-core/src/test/java/org/apache/joshua/decoder/cky/SourceAnnotationsNotUsingTest.conf
@@ -11,6 +11,7 @@ feature_function = WordPenalty
 
 feature_functions = [
   { class = LanguageModel, lm_type = kenlm, lm_order = 5, lm_file = 
src/test/resources/decoder/source-annotations/lm.kenlm }
+  { class = WordPenalty }
 ]
 
 grammars = [

Reply via email to