You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ctakes.apache.org by ch...@apache.org on 2012/12/19 22:25:26 UTC

svn commit: r1424143 - /incubator/ctakes/branches/ctakes-3.0.0-incubating/ctakes-drug-ner/src/main/java/org/apache/ctakes/drugner/ae/CopyDrugAnnotator.java

Author: chenpei
Date: Wed Dec 19 21:25:25 2012
New Revision: 1424143

URL: http://svn.apache.org/viewvc?rev=1424143&view=rev
Log:
CTAKES-101 - looks like the drug ner types were updated. based on the revision history, it was fixed in trunk but not propgated to 3.0 therefore making the same change to 3.0

Modified:
    incubator/ctakes/branches/ctakes-3.0.0-incubating/ctakes-drug-ner/src/main/java/org/apache/ctakes/drugner/ae/CopyDrugAnnotator.java

Modified: incubator/ctakes/branches/ctakes-3.0.0-incubating/ctakes-drug-ner/src/main/java/org/apache/ctakes/drugner/ae/CopyDrugAnnotator.java
URL: http://svn.apache.org/viewvc/incubator/ctakes/branches/ctakes-3.0.0-incubating/ctakes-drug-ner/src/main/java/org/apache/ctakes/drugner/ae/CopyDrugAnnotator.java?rev=1424143&r1=1424142&r2=1424143&view=diff
==============================================================================
--- incubator/ctakes/branches/ctakes-3.0.0-incubating/ctakes-drug-ner/src/main/java/org/apache/ctakes/drugner/ae/CopyDrugAnnotator.java (original)
+++ incubator/ctakes/branches/ctakes-3.0.0-incubating/ctakes-drug-ner/src/main/java/org/apache/ctakes/drugner/ae/CopyDrugAnnotator.java Wed Dec 19 21:25:25 2012
@@ -175,7 +175,7 @@ public class CopyDrugAnnotator extends J
 					Iterator lookupWindows = FSUtil.getAnnotationsInSpanIterator(jcas, org.apache.ctakes.typesystem.type.textspan.LookupWindowAnnotation.type, segment.getBegin(), segment.getEnd());
 					while (lookupWindows.hasNext()){
 						org.apache.ctakes.typesystem.type.textspan.LookupWindowAnnotation lookup = (org.apache.ctakes.typesystem.type.textspan.LookupWindowAnnotation) lookupWindows.next();
-						edu.mayo.bmi.uima.lookup.type.DrugLookupWindowAnnotation drugLookup = new edu.mayo.bmi.uima.lookup.type.DrugLookupWindowAnnotation(jcas, lookup.getBegin(), lookup.getEnd());
+						org.apache.ctakes.typesystem.type.textspan.DrugLookupWindowAnnotation drugLookup = new org.apache.ctakes.typesystem.type.textspan.DrugLookupWindowAnnotation (jcas, lookup.getBegin(), lookup.getEnd());
 						drugLookup.addToIndexes();
 					}
 				}
@@ -187,4 +187,4 @@ public class CopyDrugAnnotator extends J
 			}
 		}
 	}
-}
\ No newline at end of file
+}