incubator-ctakes-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chen Lin (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CTAKES-100) CAS does not contain any DocumentID
Date Tue, 20 Nov 2012 14:20:59 GMT

     [ https://issues.apache.org/jira/browse/CTAKES-100?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Chen Lin updated CTAKES-100:
----------------------------

    Affects Version/s:     (was: 3.0-incubating)
                       3.1-incubating
    
> CAS does not contain any DocumentID
> -----------------------------------
>
>                 Key: CTAKES-100
>                 URL: https://issues.apache.org/jira/browse/CTAKES-100
>             Project: cTAKES
>          Issue Type: Bug
>          Components: ctakes-temporal
>    Affects Versions: 3.1-incubating
>         Environment: Windows 7, 64 bit 
>            Reporter: Chen Lin
>            Priority: Minor
>              Labels: test
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> When I run the EvaluationOfEventSpan.java of ctakes-temporal, the DocumentID in the gold
standard training document (knowtator format) cannot be fetched. Error messages:
> Exception in thread "main" org.apache.uima.analysis_engine.AnalysisEngineProcessException:
Annotator processing failed.    
> 	at org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.callAnalysisComponentProcess(PrimitiveAnalysisEngine_impl.java:391)
> 	at org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.processAndOutputNewCASes(PrimitiveAnalysisEngine_impl.java:296)
> 	at org.apache.uima.analysis_engine.asb.impl.ASB_impl$AggregateCasIterator.processUntilNextOutputCas(ASB_impl.java:567)
> 	at org.apache.uima.analysis_engine.asb.impl.ASB_impl$AggregateCasIterator.<init>(ASB_impl.java:409)
> 	at org.apache.uima.analysis_engine.asb.impl.ASB_impl.process(ASB_impl.java:342)
> 	at org.apache.uima.analysis_engine.impl.AggregateAnalysisEngine_impl.processAndOutputNewCASes(AggregateAnalysisEngine_impl.java:267)
> 	at org.apache.uima.analysis_engine.asb.impl.ASB_impl$AggregateCasIterator.processUntilNextOutputCas(ASB_impl.java:567)
> 	at org.apache.uima.analysis_engine.asb.impl.ASB_impl$AggregateCasIterator.<init>(ASB_impl.java:409)
> 	at org.apache.uima.analysis_engine.asb.impl.ASB_impl.process(ASB_impl.java:342)
> 	at org.apache.uima.analysis_engine.impl.AggregateAnalysisEngine_impl.processAndOutputNewCASes(AggregateAnalysisEngine_impl.java:267)
> 	at org.apache.uima.analysis_engine.impl.AnalysisEngineImplBase.process(AnalysisEngineImplBase.java:267)
> 	at org.uimafit.pipeline.SimplePipeline.runPipeline(SimplePipeline.java:223)
> 	at org.uimafit.pipeline.SimplePipeline.runPipeline(SimplePipeline.java:143)
> 	at org.apache.ctakes.temporal.eval.EvaluationOfAnnotationSpans_ImplBase.train(EvaluationOfAnnotationSpans_ImplBase.java:88)
> 	at org.cleartk.eval.Evaluation_ImplBase.crossValidation(Evaluation_ImplBase.java:106)
> 	at org.apache.ctakes.temporal.eval.Evaluation_ImplBase.crossValidation(Evaluation_ImplBase.java:111)
> 	at org.apache.ctakes.temporal.eval.EvaluationOfEventSpans.main(EvaluationOfEventSpans.java:52)
> Caused by: java.lang.IllegalArgumentException: CAS does not contain any [org.apache.ctakes.typesystem.type.structured.DocumentID]
> 	at org.uimafit.util.CasUtil.selectSingle(CasUtil.java:764)
> 	at org.uimafit.util.JCasUtil.selectSingle(JCasUtil.java:515)
> 	at org.apache.ctakes.core.ae.SHARPKnowtatorXMLReader.getJCasURIString(SHARPKnowtatorXMLReader.java:76)
> 	at org.apache.ctakes.core.ae.SHARPKnowtatorXMLReader.process(SHARPKnowtatorXMLReader.java:102)
> 	at org.apache.uima.analysis_component.JCasAnnotator_ImplBase.process(JCasAnnotator_ImplBase.java:48)
> 	at org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.callAnalysisComponentProcess(PrimitiveAnalysisEngine_impl.java:375)
> 	... 16 more 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message