ctakes-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shalg...@apache.org
Subject svn commit: r1550456 - /ctakes/trunk/ctakes-assertion/src/main/java/org/apache/ctakes/assertion/attributes/history/HistoryAttributeClassifier.java
Date Thu, 12 Dec 2013 17:27:42 GMT
Author: shalgrim
Date: Thu Dec 12 17:27:42 2013
New Revision: 1550456

URL: http://svn.apache.org/r1550456
Log:
refactor getHIstory to getHistory. add instructions to GHC_HIST_SECTIONS

Modified:
    ctakes/trunk/ctakes-assertion/src/main/java/org/apache/ctakes/assertion/attributes/history/HistoryAttributeClassifier.java

Modified: ctakes/trunk/ctakes-assertion/src/main/java/org/apache/ctakes/assertion/attributes/history/HistoryAttributeClassifier.java
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-assertion/src/main/java/org/apache/ctakes/assertion/attributes/history/HistoryAttributeClassifier.java?rev=1550456&r1=1550455&r2=1550456&view=diff
==============================================================================
--- ctakes/trunk/ctakes-assertion/src/main/java/org/apache/ctakes/assertion/attributes/history/HistoryAttributeClassifier.java
(original)
+++ ctakes/trunk/ctakes-assertion/src/main/java/org/apache/ctakes/assertion/attributes/history/HistoryAttributeClassifier.java
Thu Dec 12 17:27:42 2013
@@ -66,6 +66,7 @@ public class HistoryAttributeClassifier 
             FeatureIndex.add(SUBSUMED_ANNOT);
     }
     
+    // Only enter lower-case strings here for comparison with sentences in isInHistSection
     private static final String[] GHC_HIST_SECTIONS = 
     	{
     	"fh",
@@ -80,7 +81,7 @@ public class HistoryAttributeClassifier 
     	};
 
 	// currently goes from entityMention to Sentence to SemanticArgument
-	public static Boolean getHIstory(JCas jCas, IdentifiedAnnotation mention) {
+	public static Boolean getHistory(JCas jCas, IdentifiedAnnotation mention) {
 		
 		HashMap<String, Boolean> vfeat = extract(jCas, mention);
 		



Mime
View raw message