ctakes-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steven Bethard (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CTAKES-177) relation extractor should look for models on classpath
Date Fri, 15 Mar 2013 08:48:12 GMT

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

Steven Bethard resolved CTAKES-177.

    Resolution: Fixed

Fixed in r1456800.
> relation extractor should look for models on classpath
> ------------------------------------------------------
>                 Key: CTAKES-177
>                 URL: https://issues.apache.org/jira/browse/CTAKES-177
>             Project: cTAKES
>          Issue Type: Bug
>          Components: ctakes-relation-extractor
>    Affects Versions: 3.0-incubating
>            Reporter: Steven Bethard
>            Assignee: Steven Bethard
>             Fix For: 3.1-incubating
> http://mail-archives.apache.org/mod_mbox/incubator-ctakes-dev/201303.mbox/%3CB6FD5849-9BC5-4AB5-94CB-C04AEE7DE150%40mayo.edu%3E
> The relation extractor looks for models in a "resources/models" directory, causing the
following error if you just add the ctakes-relation-extractor to the build path of another
model and try to use the relation extractor models:
> 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)
> Instead, the relation extractor should look for models on the classpath. This would be
easiest after the fix for https://code.google.com/p/cleartk/issues/detail?id=346 but with
a little work we can do this now too.

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

View raw message