You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ctakes.apache.org by "Bogle, Brittany" <bb...@email.unc.edu> on 2017/12/18 19:32:57 UTC
Reducing output
Hello,
I am using the CPE with:
Analysis Engine: AggregatePlaintextFastUMLSProcessor
CAS Consumer: FileWriterCasConsumer (writing to xml file).
I've been trying to figure out how to take an existing CAS consumer and modify it to only output what is necessary, since most of the default output is not useful for me and large files.
I basically just want two things: the UMLSconcepts and the oncology output (to get the polarity associated with the UMLS concepts).
I thought just commenting out all <outputs> in the analysis_engine except the two below would do the trick:
</typePriorities>
<fsIndexCollection/>
<capabilities>
<capability>
<inputs/>
<outputs>
<type allAnnotatorFeatures="true">org.apache.ctakes.typesystem.type.refsem.UmlsConcept</type>
<type allAnnotatorFeatures="true">org.apache.ctakes.typesystem.type.OntologyConcept</type>
But this doesn't seem to be changing anything. Does anyone have a quick example or explanation of how I would minimize the outputs in an existing analysis engine?
Thanks!
Brittany