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/10/05 15:40:01 UTC
incubator-joshua git commit: reversed mistaken function signature
Repository: incubator-joshua
Updated Branches:
refs/heads/master 2cd401480 -> f94cc76dc
reversed mistaken function signature
Project: http://git-wip-us.apache.org/repos/asf/incubator-joshua/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-joshua/commit/f94cc76d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-joshua/tree/f94cc76d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-joshua/diff/f94cc76d
Branch: refs/heads/master
Commit: f94cc76dc306bbc075a19d8f54f69b25d4c549e9
Parents: 2cd4014
Author: Matt Post <po...@cs.jhu.edu>
Authored: Wed Oct 5 11:39:56 2016 -0400
Committer: Matt Post <po...@cs.jhu.edu>
Committed: Wed Oct 5 11:39:56 2016 -0400
----------------------------------------------------------------------
src/main/java/org/apache/joshua/decoder/ff/FeatureFunction.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/f94cc76d/src/main/java/org/apache/joshua/decoder/ff/FeatureFunction.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/joshua/decoder/ff/FeatureFunction.java b/src/main/java/org/apache/joshua/decoder/ff/FeatureFunction.java
index 7e6e7a5..0bcc97a 100644
--- a/src/main/java/org/apache/joshua/decoder/ff/FeatureFunction.java
+++ b/src/main/java/org/apache/joshua/decoder/ff/FeatureFunction.java
@@ -252,7 +252,7 @@ public abstract class FeatureFunction {
* @param sentence the current input sentence
* @return the *weighted* cost of applying the feature.
*/
- public abstract float estimateCost(Rule rule, Sentence sentence);
+ public abstract float estimateCost(Rule rule);
/**
* This feature is called to produce a *weighted estimate* of the future cost