ctakes-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stevenbeth...@apache.org
Subject svn commit: r1424725 - in /incubator/ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/ae: EventAnnotator.java feature/SurfaceFormFeatureExtractor.java
Date Thu, 20 Dec 2012 21:53:23 GMT
Author: stevenbethard
Date: Thu Dec 20 21:53:23 2012
New Revision: 1424725

URL: http://svn.apache.org/viewvc?rev=1424725&view=rev
Log:
Removes SurfaceFormFeatureExtractor which was essentially just a subset of CharacterCategoryPatternExtractor
and wasn't helping performance at all.

Removed:
    incubator/ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/ae/feature/SurfaceFormFeatureExtractor.java
Modified:
    incubator/ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/ae/EventAnnotator.java

Modified: incubator/ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/ae/EventAnnotator.java
URL: http://svn.apache.org/viewvc/incubator/ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/ae/EventAnnotator.java?rev=1424725&r1=1424724&r2=1424725&view=diff
==============================================================================
--- incubator/ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/ae/EventAnnotator.java
(original)
+++ incubator/ctakes/trunk/ctakes-temporal/src/main/java/org/apache/ctakes/temporal/ae/EventAnnotator.java
Thu Dec 20 21:53:23 2012
@@ -30,7 +30,6 @@ import java.util.Random;
 
 import org.apache.ctakes.temporal.ae.feature.PhraseExtractor;
 import org.apache.ctakes.temporal.ae.feature.SRLExtractor;
-import org.apache.ctakes.temporal.ae.feature.SurfaceFormFeatureExtractor;
 import org.apache.ctakes.temporal.ae.feature.selection.Chi2FeatureSelection;
 import org.apache.ctakes.temporal.ae.feature.selection.FeatureSelection;
 import org.apache.ctakes.typesystem.type.constants.CONST;
@@ -161,7 +160,6 @@ public class EventAnnotator extends Clea
         new CoveredTextExtractor(),
         new CharacterCategoryPatternExtractor(PatternType.ONE_PER_CHAR),
         new TypePathExtractor(BaseToken.class, "partOfSpeech"),
-        new SurfaceFormFeatureExtractor(),
         new PhraseExtractor(),
         new SRLExtractor());
     this.contextFeatureExtractor = new CleartkExtractor(



Mime
View raw message