GateNLP / gateplugin-LearningFramework

A plugin for the GATE language technology framework for training and using machine learning models. Currently supports Mallet (MaxEnt, NaiveBayes, CRF and others), LibSVM, Scikit-Learn, Weka, and DNNs through Pytorch and Keras.
https://gatenlp.github.io/gateplugin-LearningFramework/
GNU Lesser General Public License v2.1
26 stars 6 forks source link

Generalize EngineMalletSeq for all Transducers that take FeatureVectorSequences #2

Closed johann-petrak closed 6 years ago

johann-petrak commented 8 years ago

Currently we directly use CRF/CRFTrainer, but we should generalize to the parent types Transducer/TransducerTrainer and only downcast where necessary (if the parent types do not support all we need). We cannot completely generalize to Transducer because that includes HMM which takes a FeatureSequence instead of a FeatureVectorSequence and we do not support that.

johann-petrak commented 6 years ago

This has been done in EngineMBMalletSeq already a while ago.