Closed wmkouw closed 6 years ago
jCas factory in IXAPipeHeidelTime.java is initialized using descriptions
, which are taken from config.props:
TypeSystemDescription[] descriptions = new TypeSystemDescription[] {
UIMAFramework
.getXMLParser()
.parseTypeSystemDescription(
new XMLInputSource(
this.getClass()
.getClassLoader()
.getResource(
Config.get(Config.TYPESYSTEMHOME)))),
UIMAFramework
.getXMLParser()
.parseTypeSystemDescription(
new XMLInputSource(
this.getClass()
.getClassLoader()
.getResource(
Config.get(Config.TYPESYSTEMHOME_DKPRO))))
};
config.props
points TYPESYSTEMHOME_DKPRO to desc/type/DKPro_TypeSystem.xml
.
Heideltime does not contain DKPro_TypeSystem.xml.
Commenting out the second description (i.e. UIMAFramework until Config.get(Config.TYPESYSTEMHOME_DKPRO)))) in line 178 to 185 in IXAPipeHeidelTime.java) leads to no initialization errors.
Not closing, because I'm not sure if everything still works.
The initial compilation error that caused this issue has been resolved, see #16
Goal: run ixa-heideltime on a part-of-speech tagged file.
Input: Called compiled jar on alpino-to-treetagger and with default config.props according to instructions
Problem:
JCas factory could not be initialized
andCas object could not be generated
.Stack trace: