ctakes-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pei Chen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CTAKES-140) Allow clearTK to load read-only models from classpath instead of file URL.
Date Mon, 04 Feb 2013 16:56:14 GMT
Pei Chen created CTAKES-140:
-------------------------------

             Summary: Allow clearTK to load read-only models from classpath instead of file
URL.
                 Key: CTAKES-140
                 URL: https://issues.apache.org/jira/browse/CTAKES-140
             Project: cTAKES
          Issue Type: Improvement
          Components: ctakes-relation-extractor
    Affects Versions: 3.0-incubating
            Reporter: Pei Chen
            Priority: Minor


Currently, clearTK's org.cleartk.classifier.jar.GenericJarClassifierFactory.classifierJarPath
can only load the models from a file URL, it would be nice to also allow it to read it from
the classpath.
https://code.google.com/p/cleartk/issues/detail?id=346&thanks=346&ts=1359995634

Temporarily, updating the descriptor xml to read it from a valid file URL relative to CTAKES_HOME
(for deployment) i.e.:
<nameValuePair>
<name>org.cleartk.classifier.jar.GenericJarClassifierFactory.classifierJarPath</name>
<value>
<string>resources/org/apache/ctakes/relationextractor/models/modifier_extractor/model.jar</string>
</value>
</nameValuePair>


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

Mime
View raw message