public class FeatureGenerator extends Object
| Constructor and Description |
|---|
FeatureGenerator() |
| Modifier and Type | Method and Description |
|---|---|
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)
|
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)
|
cc.mallet.types.InstanceList |
createFeatureData(ArrayList<Sentence> sentences,
Properties featureConfig) |
public cc.mallet.types.InstanceList createFeatureData(ArrayList<Sentence> sentences, Properties featureConfig)
public static cc.mallet.types.InstanceList convertFeatsforClassifier(cc.mallet.pipe.Pipe METrainerDummyPipe,
cc.mallet.types.InstanceList orgList)
METrainerDummyPipe - orgList - the sentence based instance listpublic static cc.mallet.types.InstanceList convertFeatsforClassifier(cc.mallet.pipe.Pipe METrainerDummyPipe,
cc.mallet.types.Instance inst)
METrainerDummyPipe - inst - just the features for one sentence to be transformedCopyright © 2018 JULIE Lab, Germany. All Rights Reserved.