ctakes-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tm...@apache.org
Subject svn commit: r1696987 - /ctakes/sandbox/ctakes-coref-cleartk/src/main/java/org/apache/ctakes/coreference/ae/features/cluster/MentionClusterDepHeadExtractor.java
Date Fri, 21 Aug 2015 13:45:44 GMT
Author: tmill
Date: Fri Aug 21 13:45:44 2015
New Revision: 1696987

URL: http://svn.apache.org/r1696987
Log:
Dep relation feature was overproducing features for large clusters, eliminated noisy feature.

Modified:
    ctakes/sandbox/ctakes-coref-cleartk/src/main/java/org/apache/ctakes/coreference/ae/features/cluster/MentionClusterDepHeadExtractor.java

Modified: ctakes/sandbox/ctakes-coref-cleartk/src/main/java/org/apache/ctakes/coreference/ae/features/cluster/MentionClusterDepHeadExtractor.java
URL: http://svn.apache.org/viewvc/ctakes/sandbox/ctakes-coref-cleartk/src/main/java/org/apache/ctakes/coreference/ae/features/cluster/MentionClusterDepHeadExtractor.java?rev=1696987&r1=1696986&r2=1696987&view=diff
==============================================================================
--- ctakes/sandbox/ctakes-coref-cleartk/src/main/java/org/apache/ctakes/coreference/ae/features/cluster/MentionClusterDepHeadExtractor.java
(original)
+++ ctakes/sandbox/ctakes-coref-cleartk/src/main/java/org/apache/ctakes/coreference/ae/features/cluster/MentionClusterDepHeadExtractor.java
Fri Aug 21 13:45:44 2015
@@ -43,9 +43,9 @@ public class MentionClusterDepHeadExtrac
     for(String headWord : memberHeads){
 //      feats.add(new Feature("MemberHead", headWord));
     }
-    for(String path : memberPaths){
-      feats.add(new Feature("MemberRel", path));
-    }
+//    for(String path : memberPaths){
+//      feats.add(new Feature("MemberRel", path));
+//    }
     
     if(mentionHead != null){
       String headWord = mentionHead.getCoveredText().toLowerCase();



Mime
View raw message