Uploaded image for project: 'cTAKES'
  1. cTAKES
  2. CTAKES-140

Allow clearTK to load read-only models from classpath instead of file URL.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.0-incubating
    • 3.1.0
    • None

    Description

      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>

      Attachments

        Activity

          People

            steven.bethard Steven Bethard
            chenpei Pei Chen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: