I figured out how to read the model file back in using the mallet
APIs.
http://mallet.cs.umass.edu/classifier-devel.php
I'd still be interested to know if we have access to the original
classifiers in ClearTK.
You mean access to the cc.mallet.classify.Classifier, not the
org.cleartk.classifier.Classifier, right? MalletClassifier_ImplBase
has a protected "classifier" attribute, which we could add a getter
for and then you could get that via some casting. But I'm not sure if
that would solve your problem since the mallet Classifier API doesn't
seem to give access to feature weights...
What are you trying to do?
Steve
--
Where did you get that preposterous hypothesis?
Did Steve tell you that?
--- The Hiphopopotamus
You mean access to the cc.mallet.classify.Classifier, not the
org.cleartk.classifier.Classifier, right? MalletClassifier_ImplBase
has a protected "classifier" attribute, which we could add a getter
for and then you could get that via some casting. But I'm not sure if
that would solve your problem since the mallet Classifier API doesn't
seem to give access to feature weights...
What are you trying to do?