ctakes-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tm...@apache.org
Subject svn commit: r1748727 - /ctakes/trunk/ctakes-relation-extractor/src/main/java/org/apache/ctakes/relationextractor/ae/features/DependencyTreeFeaturesExtractor.java
Date Thu, 16 Jun 2016 13:51:35 GMT
Author: tmill
Date: Thu Jun 16 13:51:35 2016
New Revision: 1748727

URL: http://svn.apache.org/viewvc?rev=1748727&view=rev
Log:
Made method static so others can call it.

Modified:
    ctakes/trunk/ctakes-relation-extractor/src/main/java/org/apache/ctakes/relationextractor/ae/features/DependencyTreeFeaturesExtractor.java

Modified: ctakes/trunk/ctakes-relation-extractor/src/main/java/org/apache/ctakes/relationextractor/ae/features/DependencyTreeFeaturesExtractor.java
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-relation-extractor/src/main/java/org/apache/ctakes/relationextractor/ae/features/DependencyTreeFeaturesExtractor.java?rev=1748727&r1=1748726&r2=1748727&view=diff
==============================================================================
--- ctakes/trunk/ctakes-relation-extractor/src/main/java/org/apache/ctakes/relationextractor/ae/features/DependencyTreeFeaturesExtractor.java
(original)
+++ ctakes/trunk/ctakes-relation-extractor/src/main/java/org/apache/ctakes/relationextractor/ae/features/DependencyTreeFeaturesExtractor.java
Thu Jun 16 13:51:35 2016
@@ -39,7 +39,7 @@ public class DependencyTreeFeaturesExtra
 	    return features;
 	}
 	
-	public List<Feature> extractForNode(JCas jCas, IdentifiedAnnotation mention, String
ftrPrefix) {
+	public static List<Feature> extractForNode(JCas jCas, IdentifiedAnnotation mention,
String ftrPrefix) {
 	    List<Feature> features = new ArrayList<Feature>();
 	    ConllDependencyNode mentionHeadNode = DependencyParseUtils.findAnnotationHead(jCas,
mention);
 		



Mime
View raw message