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] [Created] (CTAKES-177) relation extractor should look for models on classpath
Date Fri, 15 Mar 2013 07:54:12 GMT
Steven Bethard created CTAKES-177:

             Summary: 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


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