ctakes-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c...@apache.org
Subject svn commit: r1467304 - /ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/ae/feature/ClosestVerbExtractor.java
Date Fri, 12 Apr 2013 15:07:21 GMT
Author: clin
Date: Fri Apr 12 15:07:20 2013
New Revision: 1467304

URL: http://svn.apache.org/r1467304
Log:
add the closest verb token as a feature for DocTimeRel

Modified:
    ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/ae/feature/ClosestVerbExtractor.java

Modified: ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/ae/feature/ClosestVerbExtractor.java
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/ae/feature/ClosestVerbExtractor.java?rev=1467304&r1=1467303&r2=1467304&view=diff
==============================================================================
--- ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/ae/feature/ClosestVerbExtractor.java
(original)
+++ ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/ae/feature/ClosestVerbExtractor.java
Fri Apr 12 15:07:20 2013
@@ -73,7 +73,7 @@ public class ClosestVerbExtractor implem
 			  }
 			  for (Map.Entry<Integer, WordToken> entry : verbDistMap.entrySet()) {
 				  Feature feature = new Feature(this.name+"_token", entry.getValue().getCoveredText());
-				  		        	  features.add(feature);
+				  features.add(feature);
 				  //logger.info("found nearby closest verb: "+ entry.getValue().getCoveredText() + "
POS:" + entry.getValue().getPartOfSpeech());
 				  Feature posfeature = new Feature(this.name, entry.getValue().getPartOfSpeech());
 				  features.add(posfeature);



Mime
View raw message