ctakes-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joseph,Rohith" <Rohith.Jos...@cerner.com>
Subject Getting error while trying to run Temporal Module
Date Thu, 04 Jan 2018 11:43:24 GMT
Hi,

I tried running Temporal Module which is a module in cTakes to annotate Events in standalone
mode but getting the below exception.

Exception in thread "main" org.apache.uima.resource.ResourceInitializationException: Initialization
of annotator class "org.apache.ctakes.temporal.ae.DocTimeRelAnnotator" failed.  (Descriptor:
file:/Users/rj054843/LG/temporal-workspace/ctakes-temporal/desc/analysis_engine/TemporalAggregatePipeline.xml)
                at org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.initializeAnalysisComponent(PrimitiveAnalysisEngine_impl.java:271)
                at org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.initialize(PrimitiveAnalysisEngine_impl.java:170)
                at org.apache.uima.impl.AnalysisEngineFactory_impl.produceResource(AnalysisEngineFactory_impl.java:94)
                at org.apache.uima.impl.CompositeResourceFactory_impl.produceResource(CompositeResourceFactory_impl.java:62)
                at org.apache.uima.UIMAFramework.produceResource(UIMAFramework.java:279)
                at org.apache.uima.UIMAFramework.produceAnalysisEngine(UIMAFramework.java:407)
                at org.apache.uima.analysis_engine.asb.impl.ASB_impl.setup(ASB_impl.java:256)
                at org.apache.uima.analysis_engine.impl.AggregateAnalysisEngine_impl.initASB(AggregateAnalysisEngine_impl.java:429)
                at org.apache.uima.analysis_engine.impl.AggregateAnalysisEngine_impl.initializeAggregateAnalysisEngine(AggregateAnalysisEngine_impl.java:373)
                at org.apache.uima.analysis_engine.impl.AggregateAnalysisEngine_impl.initialize(AggregateAnalysisEngine_impl.java:186)
                at org.apache.uima.impl.AnalysisEngineFactory_impl.produceResource(AnalysisEngineFactory_impl.java:94)
                at org.apache.uima.impl.CompositeResourceFactory_impl.produceResource(CompositeResourceFactory_impl.java:62)
                at org.apache.uima.UIMAFramework.produceResource(UIMAFramework.java:279)
                at org.apache.uima.UIMAFramework.produceAnalysisEngine(UIMAFramework.java:371)
                at mainpackage.MainClass.main(MainClass.java:39)
Caused by: java.lang.IllegalArgumentException: Please specify PARAM_IS_TRAINING - unable to
infer it from context
                at org.cleartk.ml.CleartkAnnotator.initialize(CleartkAnnotator.java:109)
                at org.apache.ctakes.temporal.ae.DocTimeRelAnnotator.initialize(DocTimeRelAnnotator.java:137)
                at org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.initializeAnalysisComponent(PrimitiveAnalysisEngine_impl.java:266)
                ... 14 more

Any help would be appreciable.

Thanks,
Rohith Joseph


CONFIDENTIALITY NOTICE This message and any included attachments are from Cerner Corporation
and are intended only for the addressee. The information contained in this message is confidential
and may constitute inside or non-public information under international, federal, or state
securities laws. Unauthorized forwarding, printing, copying, distribution, or use of such
information is strictly prohibited and may be unlawful. If you are not the addressee, please
promptly delete this message and notify the sender of the delivery error by e-mail or you
may call Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024.
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message