You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opennlp.apache.org by jo...@apache.org on 2011/05/24 12:14:24 UTC
svn commit: r1126964 -
/incubator/opennlp/trunk/opennlp-maxent/src/main/java/opennlp/maxent/GISTrainer.java
Author: joern
Date: Tue May 24 10:14:24 2011
New Revision: 1126964
URL: http://svn.apache.org/viewvc?rev=1126964&view=rev
Log:
OPENNLP-29 Removed old comment
Modified:
incubator/opennlp/trunk/opennlp-maxent/src/main/java/opennlp/maxent/GISTrainer.java
Modified: incubator/opennlp/trunk/opennlp-maxent/src/main/java/opennlp/maxent/GISTrainer.java
URL: http://svn.apache.org/viewvc/incubator/opennlp/trunk/opennlp-maxent/src/main/java/opennlp/maxent/GISTrainer.java?rev=1126964&r1=1126963&r2=1126964&view=diff
==============================================================================
--- incubator/opennlp/trunk/opennlp-maxent/src/main/java/opennlp/maxent/GISTrainer.java (original)
+++ incubator/opennlp/trunk/opennlp-maxent/src/main/java/opennlp/maxent/GISTrainer.java Tue May 24 10:14:24 2011
@@ -497,7 +497,6 @@ class GISTrainer {
for (int aoi=0;aoi<activeOutcomes.length;aoi++) {
int oi = activeOutcomes[aoi];
- // TODO: Read and write to modelExpects must be thread safe ...
// numTimesEventsSeen must also be thread safe
if (values != null && values[ei] != null) {
modelExpects[threadIndex][pi].updateParameter(aoi,modelDistribution[oi] * values[ei][j] * numTimesEventsSeen[ei]);