vnadgir / dkpro-core-asl

Automatically exported from code.google.com/p/dkpro-core-asl
0 stars 0 forks source link

Problem loading OpenNlp-and TreeTagger-Models #166

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi, 

I use TreeTagger for German POS tagging and chunking and OpenNlpTagger for 
German POS tagging (in differnt projects) which has been working a short while 
ago. When running the pipeline, I get the AE Process Exception below. There are 
no POM errors and Maven build succeeds without an error. I am using Core v1.4.0.

Regards,
Susanne

Caused by: java.io.IOException: Unable to load resource 
[classpath:/de/tudarmstadt/ukp/dkpro/core/opennlp/lib/tagger-de-maxent.bin]: 
FileNotFoundException: No file found at 
[classpath:/de/tudarmstadt/ukp/dkpro/core/opennlp/lib/tagger-de-maxent.bin]
Please make sure that 
de.tudarmstadt.ukp.dkpro.core.opennlp-model-tagger-de-maxent version 20120616.0 
is on the classpath.

Original issue reported on code.google.com by susanneu...@gmail.com on 25 Jun 2013 at 9:25

GoogleCodeExporter commented 9 years ago
The automatic resolving is not available in 1.4.0, only in recent 
1.5.0-SNAPSHOT versions. 

With 1.4.0, you should add the following to your pom:

To "dependencies"
  <dependency>
    <groupId>de.tudarmstadt.ukp.dkpro.core</groupId>
    <artifactId>de.tudarmstadt.ukp.dkpro.core.opennlp-model-tagger-de-maxent</artifactId>
  </dependency>

To "dependencyManagement/dependencies"

  <dependency>
    <groupId>de.tudarmstadt.ukp.dkpro.core</groupId>
    <artifactId>de.tudarmstadt.ukp.dkpro.core.opennlp-asl</artifactId>
    <version>1.4.0</version>
    <type>pom</type>
    <scope>import</scope>
  </dependency>

Original comment by richard.eckart on 25 Jun 2013 at 9:35

GoogleCodeExporter commented 9 years ago

Original comment by richard.eckart on 25 Jun 2013 at 10:56

GoogleCodeExporter commented 9 years ago
Problem was reported as solved on the mailing list.

Original comment by richard.eckart on 30 Jun 2013 at 12:14