Yeah, Pei, you're right, I was able to remove it w/o causing any errors.
I'll check it in with the dependency and imports removed.
Tim
On 05/31/2013 03:39 PM, Chen, Pei wrote:
Regarding the cleartk-examples dependency from the assertion module:
I think there were some commits on this already [1].
There is only a reference to the example classes in the imports now, but it's
actually never used.
Perhaps Matt could chime. Maybe it's as simple as just removing the examples
from the pom and imports.
[1]
http://mail-archives.apache.org/mod_mbox/incubator-ctakes-dev/201210.mbox/%3CF085F637EA9843429DA7A267BBB709A01E8402EF%40IMCMBX04.MITRE.ORG%3E
-----Original Message-----
From: Steven Bethard [mailto:[email protected]]
Sent: Thursday, May 30, 2013 6:46 PM
To: [email protected]
Subject: upgrade ClearTK dependency to 1.4.0?
I just released ClearTK 1.4.0 and there are a couple of reasons we should
probably consider updating the cTAKES dependency:
(1) ClearTK 1.4.0 can now load trained models from the classpath, so we
could get rid of the workaround
org.apache.ctakes.relationextractor.ae.RelationExtractorAnnotator.allowClas
sifierModelOnClasspath.
(2) ClearTK 1.4.0 has wrappers for multi-class classification with LIBLINEAR
which is orders of magnitude faster than LIBSVM.
The main downside is that models will have to be re-trained. (It's not
necessarily the case that all models would need to be retrained, depending
on exactly which classes they were using, but it's probably safer to do so.)
I believe this would mostly affect ctakes-temporal, ctakes-relation-extractor
and ctakes-assertion.
Thoughts?
Steve
P.S. I noticed that ctakes-assertion declares a dependency on cleartk-
examples. The cleartk-examples module was never intended for release,
and has not been released as part of ClearTK 1.4.0. Looking at the code, it
seems like the dependency in cleartk-examples is not needed, but perhaps a
ctakes-assertion person could weigh in on why this dependency was there?