You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I could build the code from the master branch, but everytime I try to tag some text, I get the following exception:
Apr 23, 2017 6:20:54 PM org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl callAnalysisComponentProcess(417) SCHWERWIEGEND: Exception occurred org.apache.uima.analysis_engine.AnalysisEngineProcessException: Annotator processing failed. at org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.callAnalysisComponentProcess(PrimitiveAnalysisEngine_impl.java:401) at org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.processAndOutputNewCASes(PrimitiveAnalysisEngine_impl.java:309) at org.apache.uima.analysis_engine.impl.AnalysisEngineImplBase.process(AnalysisEngineImplBase.java:267) at org.apache.uima.fit.pipeline.SimplePipeline.runPipeline(SimplePipeline.java:309) at org.apache.uima.fit.pipeline.SimplePipeline.runPipeline(SimplePipeline.java:195) at de.tu.darmstadt.lt.ner.preprocessing.GermaNERMain.classifyTestFile(GermaNERMain.java:120) at de.tu.darmstadt.lt.ner.preprocessing.GermaNERMain.main(GermaNERMain.java:304) Caused by: org.apache.uima.cas.CASRuntimeException: JCas type "de.tudarmstadt.ukp.dkpro.core.api.segmentation.type.Token" used in Java code, but was not declared in the XML type descriptor. at org.apache.uima.jcas.impl.JCasImpl.getType(JCasImpl.java:414) at org.apache.uima.jcas.cas.TOP.<init>(TOP.java:92) at org.apache.uima.jcas.cas.AnnotationBase.<init>(AnnotationBase.java:66) at org.apache.uima.jcas.tcas.Annotation.<init>(Annotation.java:54) at de.tudarmstadt.ukp.dkpro.core.api.segmentation.type.Token.<init>(Token.java:65) at de.tu.darmstadt.lt.ner.reader.NERReader.process(NERReader.java:152) 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:385) ... 6 more
What i'm doing wrong?
I already read, that you have to declare the types in some xml and define it in here META-INF\org.apache.uima.fit\text.txt. That's indeed done, but in the directory "desc\type" are only the following files:
GoldNamedEntity.xml
SimilarWord1.xml
SimilarWord2.xml
But there is no type of "de.tudarmstadt.ukp.dkpro.core.api.segmentation.type.Token" defined in the directory. Is that the problem? If yes, how can I fix that?
The text was updated successfully, but these errors were encountered:
I could build the code from the master branch, but everytime I try to tag some text, I get the following exception:
Apr 23, 2017 6:20:54 PM org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl callAnalysisComponentProcess(417) SCHWERWIEGEND: Exception occurred org.apache.uima.analysis_engine.AnalysisEngineProcessException: Annotator processing failed. at org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.callAnalysisComponentProcess(PrimitiveAnalysisEngine_impl.java:401) at org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.processAndOutputNewCASes(PrimitiveAnalysisEngine_impl.java:309) at org.apache.uima.analysis_engine.impl.AnalysisEngineImplBase.process(AnalysisEngineImplBase.java:267) at org.apache.uima.fit.pipeline.SimplePipeline.runPipeline(SimplePipeline.java:309) at org.apache.uima.fit.pipeline.SimplePipeline.runPipeline(SimplePipeline.java:195) at de.tu.darmstadt.lt.ner.preprocessing.GermaNERMain.classifyTestFile(GermaNERMain.java:120) at de.tu.darmstadt.lt.ner.preprocessing.GermaNERMain.main(GermaNERMain.java:304) Caused by: org.apache.uima.cas.CASRuntimeException: JCas type "de.tudarmstadt.ukp.dkpro.core.api.segmentation.type.Token" used in Java code, but was not declared in the XML type descriptor. at org.apache.uima.jcas.impl.JCasImpl.getType(JCasImpl.java:414) at org.apache.uima.jcas.cas.TOP.<init>(TOP.java:92) at org.apache.uima.jcas.cas.AnnotationBase.<init>(AnnotationBase.java:66) at org.apache.uima.jcas.tcas.Annotation.<init>(Annotation.java:54) at de.tudarmstadt.ukp.dkpro.core.api.segmentation.type.Token.<init>(Token.java:65) at de.tu.darmstadt.lt.ner.reader.NERReader.process(NERReader.java:152) 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:385) ... 6 more
What i'm doing wrong?
I already read, that you have to declare the types in some xml and define it in here META-INF\org.apache.uima.fit\text.txt. That's indeed done, but in the directory "desc\type" are only the following files:
GoldNamedEntity.xml
SimilarWord1.xml
SimilarWord2.xml
But there is no type of "de.tudarmstadt.ukp.dkpro.core.api.segmentation.type.Token" defined in the directory. Is that the problem? If yes, how can I fix that?
The text was updated successfully, but these errors were encountered: