incubator-ctakes-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From james-mas...@apache.org
Subject svn commit: r1400891 - in /incubator/ctakes/trunk/ctakes-assertion/src/main/java/org/apache/ctakes/assertion/medfacts: ConceptLookup.java Converti2b2AnnotationsToCTAKES.java
Date Mon, 22 Oct 2012 14:18:03 GMT
Author: james-masanz
Date: Mon Oct 22 14:18:03 2012
New Revision: 1400891

URL: http://svn.apache.org/viewvc?rev=1400891&view=rev
Log:
CTAKES-87 - Merge in assertion code from SF.net SVN that was not captured in the svndump

Modified:
    incubator/ctakes/trunk/ctakes-assertion/src/main/java/org/apache/ctakes/assertion/medfacts/ConceptLookup.java
    incubator/ctakes/trunk/ctakes-assertion/src/main/java/org/apache/ctakes/assertion/medfacts/Converti2b2AnnotationsToCTAKES.java

Modified: incubator/ctakes/trunk/ctakes-assertion/src/main/java/org/apache/ctakes/assertion/medfacts/ConceptLookup.java
URL: http://svn.apache.org/viewvc/incubator/ctakes/trunk/ctakes-assertion/src/main/java/org/apache/ctakes/assertion/medfacts/ConceptLookup.java?rev=1400891&r1=1400890&r2=1400891&view=diff
==============================================================================
--- incubator/ctakes/trunk/ctakes-assertion/src/main/java/org/apache/ctakes/assertion/medfacts/ConceptLookup.java
(original)
+++ incubator/ctakes/trunk/ctakes-assertion/src/main/java/org/apache/ctakes/assertion/medfacts/ConceptLookup.java
Mon Oct 22 14:18:03 2012
@@ -23,6 +23,7 @@ import java.util.HashSet;
 import java.util.logging.Logger;
 
 import org.apache.uima.cas.FeatureStructure;
+import org.apache.uima.jcas.JCas;
 import org.apache.uima.jcas.cas.FSArray;
 import org.mitre.medfacts.i2b2.annotation.ConceptType;
 

Modified: incubator/ctakes/trunk/ctakes-assertion/src/main/java/org/apache/ctakes/assertion/medfacts/Converti2b2AnnotationsToCTAKES.java
URL: http://svn.apache.org/viewvc/incubator/ctakes/trunk/ctakes-assertion/src/main/java/org/apache/ctakes/assertion/medfacts/Converti2b2AnnotationsToCTAKES.java?rev=1400891&r1=1400890&r2=1400891&view=diff
==============================================================================
--- incubator/ctakes/trunk/ctakes-assertion/src/main/java/org/apache/ctakes/assertion/medfacts/Converti2b2AnnotationsToCTAKES.java
(original)
+++ incubator/ctakes/trunk/ctakes-assertion/src/main/java/org/apache/ctakes/assertion/medfacts/Converti2b2AnnotationsToCTAKES.java
Mon Oct 22 14:18:03 2012
@@ -22,11 +22,14 @@ import org.mitre.medfacts.zoner.Characte
 import org.mitre.medfacts.zoner.CharacterOffsetToLineTokenConverterDefaultImpl;
 import java.io.File;
 import java.io.FileInputStream;
+
+import org.apache.log4j.Logger;
 import org.apache.uima.cas.impl.XmiCasDeserializer;
 import org.xml.sax.SAXException;
 import org.apache.uima.collection.CollectionException;
 import org.apache.uima.util.CasCreationUtils;
 import org.apache.uima.analysis_engine.AnalysisEngineDescription; 
+import org.apache.uima.analysis_engine.AnalysisEngineProcessException;
 import org.apache.uima.cas.CAS; 
 import org.apache.uima.cas.CASException;
 import org.apache.uima.jcas.JCas;
@@ -35,11 +38,13 @@ import java.util.Collections; 
 import org.apache.uima.util.XMLParser;
 import org.apache.uima.UIMAFramework;
 import org.apache.uima.util.XMLInputSource;
+import org.apache.uima.jcas.cas.FSArray;
 import org.apache.uima.jcas.cas.Sofa; 
 import org.apache.uima.resource.metadata.TypeSystemDescription;
 import org.apache.uima.util.InvalidXMLException;
 import org.apache.uima.resource.ResourceInitializationException;
 import org.mitre.medfacts.i2b2.annotation.Annotation;
+import org.mitre.medfacts.i2b2.annotation.ConceptType;
 import org.apache.uima.cas.text.AnnotationIndex;
 //import org.apache.uima.jcas.tcas.Annotation;
 
@@ -54,6 +59,9 @@ import java.util.List;
 
 import org.apache.ctakes.assertion.medfacts.types.Assertion;
 import org.apache.ctakes.assertion.medfacts.types.Concept;
+import org.apache.ctakes.typesystem.type.textsem.EntityMention;
+import org.apache.ctakes.typesystem.type.textsem.EventMention;
+import org.apache.ctakes.typesystem.type.textsem.IdentifiedAnnotation;
 import org.apache.ctakes.typesystem.type.textspan.Sentence;
 import org.apache.ctakes.typesystem.type.syntax.WordToken;
 import org.apache.uima.jcas.JCas;



Mime
View raw message