Fixed SourceAnnotationsUsingTest config
Project: http://git-wip-us.apache.org/repos/asf/incubator-joshua/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-joshua/commit/6e0bb3b2 Tree: http://git-wip-us.apache.org/repos/asf/incubator-joshua/tree/6e0bb3b2 Diff: http://git-wip-us.apache.org/repos/asf/incubator-joshua/diff/6e0bb3b2 Branch: refs/heads/7_confsystem Commit: 6e0bb3b20952eb48db36eda443f14efa71bbcc3d Parents: 0467f3d Author: Hieber, Felix <fhie...@amazon.de> Authored: Mon Sep 19 08:33:24 2016 +0200 Committer: Hieber, Felix <fhie...@amazon.de> Committed: Mon Sep 19 08:33:24 2016 +0200 ---------------------------------------------------------------------- .../apache/joshua/decoder/cky/SourceAnnotationsUsingTest.conf | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/6e0bb3b2/joshua-core/src/test/java/org/apache/joshua/decoder/cky/SourceAnnotationsUsingTest.conf ---------------------------------------------------------------------- diff --git a/joshua-core/src/test/java/org/apache/joshua/decoder/cky/SourceAnnotationsUsingTest.conf b/joshua-core/src/test/java/org/apache/joshua/decoder/cky/SourceAnnotationsUsingTest.conf index b5b3a8e..8b4c20d 100644 --- a/joshua-core/src/test/java/org/apache/joshua/decoder/cky/SourceAnnotationsUsingTest.conf +++ b/joshua-core/src/test/java/org/apache/joshua/decoder/cky/SourceAnnotationsUsingTest.conf @@ -4,12 +4,11 @@ mark_oovs = true pop_limit = 100 top_n = 1 use_unique_nbest = true -output_format = %s ||| %f --- %c +output_format = %s ||| %f ||| %c include_align_index = false -source_annotations = true feature_functions = [ - { class = LanguageModel, lm_type = kenlm, lm_order = 5, lm_file = src/test/resources/decoder/source-annotations/lm.kenlm } + { class = LanguageModel, lm_type = kenlm, lm_order = 5, source_annotations = true, lm_file = src/test/resources/decoder/source-annotations/lm.kenlm } { class = WordPenalty } { class = OOVPenalty } ]