laito / cleartk

Automatically exported from code.google.com/p/cleartk
0 stars 0 forks source link

Allow GenericJarClassifierFactory to read models from classpath without jar: url #346

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Load Descriptor
http://svn.apache.org/repos/asf/incubator/ctakes/trunk/ctakes-relation-extractor
/desc/analysis_engine/RelationExtractorAggregate.xml

What is the expected output?
org.cleartk.classifier.jar.GenericJarClassifierFactory.createClassifier(GenericJ
arClassifierFactory.java:67)
clearTK proper initialized.  It would be nice to have an option of loading 
read-only trained models from the classpath.
This is for deployment- if we move the models to a separate directory in the 
classpath from  their original physical src/main/resources directories.

What do you see instead?
FileNotFoundException

What version of the product are you using? On what operating system?
Any.

Original issue reported on code.google.com by peistat...@gmail.com on 4 Feb 2013 at 4:33

GoogleCodeExporter commented 9 years ago
Note that you CAN currently load models from the classpath, you just need to 
provide a JAR URL:

http://docs.oracle.com/javase/tutorial/deployment/jar/jarclassloader.html

The feature request here is to not requre a jar: url.

Original comment by steven.b...@gmail.com on 4 Feb 2013 at 5:08

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 1b082c10f27e.

Original comment by steven.b...@gmail.com on 14 Mar 2013 at 7:56

GoogleCodeExporter commented 9 years ago

Original comment by steven.b...@gmail.com on 15 Mar 2013 at 8:09

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 1b082c10f27e.

Original comment by steven.b...@gmail.com on 28 Mar 2013 at 5:53