Return-Path: X-Original-To: apmail-incubator-ctakes-notifications-archive@minotaur.apache.org Delivered-To: apmail-incubator-ctakes-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E9021E578 for ; Fri, 15 Mar 2013 07:54:16 +0000 (UTC) Received: (qmail 31239 invoked by uid 500); 15 Mar 2013 07:54:16 -0000 Delivered-To: apmail-incubator-ctakes-notifications-archive@incubator.apache.org Received: (qmail 29618 invoked by uid 500); 15 Mar 2013 07:54:14 -0000 Mailing-List: contact ctakes-notifications-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ctakes-dev@incubator.apache.org Delivered-To: mailing list ctakes-notifications@incubator.apache.org Received: (qmail 28673 invoked by uid 99); 15 Mar 2013 07:54:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Mar 2013 07:54:12 +0000 Date: Fri, 15 Mar 2013 07:54:12 +0000 (UTC) From: "Steven Bethard (JIRA)" To: ctakes-notifications@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CTAKES-177) relation extractor should look for models on classpath MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 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 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.(FileInputStream.java:120) at java.io.FileInputStream.(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