You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ctakes.apache.org by "Pei Chen (JIRA)" <ji...@apache.org> on 2013/02/04 17:56:14 UTC

[jira] [Created] (CTAKES-140) Allow clearTK to load read-only models from classpath instead of file URL.

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