Package de.julielab.jcore.ae.jpos.pipes
Class FeatureGenerator
- java.lang.Object
-
- de.julielab.jcore.ae.jpos.pipes.FeatureGenerator
-
public class FeatureGenerator extends Object
-
-
Constructor Summary
Constructors Constructor Description FeatureGenerator()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static cc.mallet.types.InstanceListconvertFeatsforClassifier(cc.mallet.pipe.Pipe METrainerDummyPipe, cc.mallet.types.Instance inst)converts the sentence based instance list into a token based one This is needed for the ME-version of JET (JetMeClassifier)static cc.mallet.types.InstanceListconvertFeatsforClassifier(cc.mallet.pipe.Pipe METrainerDummyPipe, cc.mallet.types.InstanceList orgList)converts the sentence based instance list into a token based one This is needed for the ME-version of JET (JetMeClassifier)cc.mallet.types.InstanceListcreateFeatureData(ArrayList<Sentence> sentences, Properties featureConfig)
-
-
-
Method Detail
-
createFeatureData
public cc.mallet.types.InstanceList createFeatureData(ArrayList<Sentence> sentences, Properties featureConfig)
-
convertFeatsforClassifier
public static cc.mallet.types.InstanceList convertFeatsforClassifier(cc.mallet.pipe.Pipe METrainerDummyPipe, cc.mallet.types.InstanceList orgList)converts the sentence based instance list into a token based one This is needed for the ME-version of JET (JetMeClassifier)- Parameters:
METrainerDummyPipe-orgList- the sentence based instance list- Returns:
-
convertFeatsforClassifier
public static cc.mallet.types.InstanceList convertFeatsforClassifier(cc.mallet.pipe.Pipe METrainerDummyPipe, cc.mallet.types.Instance inst)converts the sentence based instance list into a token based one This is needed for the ME-version of JET (JetMeClassifier)- Parameters:
METrainerDummyPipe-inst- just the features for one sentence to be transformed- Returns:
-
-