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/08/20 02:43:30 UTC
[06/15] incubator-joshua git commit: temporary commenting-out of very
verbose output
temporary commenting-out of very verbose output
Project: http://git-wip-us.apache.org/repos/asf/incubator-joshua/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-joshua/commit/1022699c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-joshua/tree/1022699c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-joshua/diff/1022699c
Branch: refs/heads/JOSHUA-284
Commit: 1022699cc744fa9fbc21f4b19122f51e3985a371
Parents: b1ec627
Author: Matt Post <po...@cs.jhu.edu>
Authored: Wed Aug 17 06:24:46 2016 -0400
Committer: Matt Post <po...@cs.jhu.edu>
Committed: Wed Aug 17 06:24:46 2016 -0400
----------------------------------------------------------------------
src/main/java/org/apache/joshua/decoder/ff/tm/Rule.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/1022699c/src/main/java/org/apache/joshua/decoder/ff/tm/Rule.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/joshua/decoder/ff/tm/Rule.java b/src/main/java/org/apache/joshua/decoder/ff/tm/Rule.java
index 15fbec1..c11d46a 100644
--- a/src/main/java/org/apache/joshua/decoder/ff/tm/Rule.java
+++ b/src/main/java/org/apache/joshua/decoder/ff/tm/Rule.java
@@ -380,10 +380,10 @@ public class Rule implements Comparator<Rule>, Comparable<Rule> {
if (this.estimatedCost <= Float.NEGATIVE_INFINITY) {
this.estimatedCost = 0.0f; // weights.innerProduct(computeFeatures());
- LOG.debug("estimateCost({} ;; {})", getFrenchWords(), getEnglishWords());
+// LOG.debug("estimateCost({} ;; {})", getFrenchWords(), getEnglishWords());
for (FeatureFunction ff : models) {
float val = ff.estimateCost(this, null);
- LOG.debug(" FEATURE {} -> {}", ff.getName(), val);
+// LOG.debug(" FEATURE {} -> {}", ff.getName(), val);
this.estimatedCost += val;
}
}