Have you had a look at https://github.com/dkpro/dkpro-tc/blob/master/dkpro-tc-examples/src/main/java/org/dkpro/tc/examples/single/document/WekaSaveAndApplyModelSinglelabelDemo.java?
This would store an pre-trained model and use it to classify arbitray text (or single instances).
Hope that helps!
Johannes
--
You received this message because you are subscribed to the Google Groups "dkpro-tc-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
dkpro-tc-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.