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/06/24 19:05:38 UTC
incubator-joshua git commit: added missing org.apache to class
invocation
Repository: incubator-joshua
Updated Branches:
refs/heads/master 2a7be951e -> af97af0b6
added missing org.apache to class invocation
Project: http://git-wip-us.apache.org/repos/asf/incubator-joshua/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-joshua/commit/af97af0b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-joshua/tree/af97af0b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-joshua/diff/af97af0b
Branch: refs/heads/master
Commit: af97af0b63d4354a461a30b12c5215ef91dfdf48
Parents: 2a7be95
Author: Matt Post <po...@cs.jhu.edu>
Authored: Fri Jun 24 15:03:05 2016 -0400
Committer: Matt Post <po...@cs.jhu.edu>
Committed: Fri Jun 24 15:03:05 2016 -0400
----------------------------------------------------------------------
scripts/training/pipeline.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/af97af0b/scripts/training/pipeline.pl
----------------------------------------------------------------------
diff --git a/scripts/training/pipeline.pl b/scripts/training/pipeline.pl
index 020d181..bdf5caa 100755
--- a/scripts/training/pipeline.pl
+++ b/scripts/training/pipeline.pl
@@ -1998,7 +1998,7 @@ sub get_features {
my ($grammar) = @_;
if (-d $grammar) {
- chomp(my @features = `java -cp $JOSHUA/class joshua.util.encoding.EncoderConfiguration $grammar | grep ^feature: | awk '{print \$NF}'`);
+ chomp(my @features = `java -cp $JOSHUA/target/joshua-*-with-dependencies.jar org.apache.joshua.util.encoding.EncoderConfiguration $grammar | grep ^feature: | awk '{print \$NF}'`);
return @features;
} elsif (-e $grammar) {