You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mahout.apache.org by gs...@apache.org on 2008/11/01 21:37:46 UTC
svn commit: r709775 -
/lucene/mahout/trunk/core/src/main/java/org/apache/mahout/classifier/bayes/common/BayesFeatureMapper.java
Author: gsingers
Date: Sat Nov 1 13:37:46 2008
New Revision: 709775
URL: http://svn.apache.org/viewvc?rev=709775&view=rev
Log:
typos
Modified:
lucene/mahout/trunk/core/src/main/java/org/apache/mahout/classifier/bayes/common/BayesFeatureMapper.java
Modified: lucene/mahout/trunk/core/src/main/java/org/apache/mahout/classifier/bayes/common/BayesFeatureMapper.java
URL: http://svn.apache.org/viewvc/lucene/mahout/trunk/core/src/main/java/org/apache/mahout/classifier/bayes/common/BayesFeatureMapper.java?rev=709775&r1=709774&r2=709775&view=diff
==============================================================================
--- lucene/mahout/trunk/core/src/main/java/org/apache/mahout/classifier/bayes/common/BayesFeatureMapper.java (original)
+++ lucene/mahout/trunk/core/src/main/java/org/apache/mahout/classifier/bayes/common/BayesFeatureMapper.java Sat Nov 1 13:37:46 2008
@@ -104,7 +104,7 @@
builder.setLength(keyLen);// truncate back
}
- // Ouput Document Frequency per Word per Class
+ // Output Document Frequency per Word per Class
String dflabel = "-" + label;
int dfKeyLen = dflabel.length();
builder = new StringBuilder(dflabel);
@@ -118,7 +118,7 @@
}
- // ouput that we have seen the label to calculate the Count of Document per
+ // output that we have seen the label to calculate the Count of Document per
// class
output.collect(new Text("_" + label), one);
}