ctakes-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kaggal, Vinod C." <Kaggal.Vi...@mayo.edu>
Subject Re: relation-extractor - how to include it as a dependency?
Date Fri, 15 Mar 2013 13:11:52 GMT
Thanks Steve.


On Mar 15, 2013, at 3:51 AM, "Steven Bethard" <steven.bethard@Colorado.EDU> wrote:

> On Mar 14, 2013, at 3:45 PM, "Kaggal, Vinod C." <Kaggal.Vinod@mayo.edu> wrote:
>> Question: What is the is a recommended way of adding the relation-extraction's resource
directory to a project that uses this project? Just adding the project (relation-extractor)
to the build-path (projects) results in the following error:
> [snip]
>> Caused by: java.io.FileNotFoundException: resources/models/em_pair/model.jar (No
such file or directory)
>>         at java.io.FileInputStream.open(Native Method)
>>         at java.io.FileInputStream.<init>(FileInputStream.java:120)
>>         at java.io.FileInputStream.<init>(FileInputStream.java:79)
>>         at org.cleartk.classifier.jar.GenericJarClassifierFactory.createClassifier(GenericJarClassifierFactory.java:67)
>>         at org.cleartk.classifier.jar.JarClassifierFactory.createClassifier(JarClassifierFactory.java:35)
>>         at org.cleartk.classifier.CleartkAnnotator.initialize(CleartkAnnotator.java:113)
> 
> I opened an issue for this:
> 
> https://issues.apache.org/jira/browse/CTAKES-177
> 
> And I believe it should be fixed in r1456800 - ctakes-relation-extractor should now be
looking on the classpath for its models now.
> 
> Let me know if that solves the problem for you.
> 
> Steve
> 

Mime
View raw message