public class GenerateTrainingData extends Object
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args)
keywordsFile and stopwordsFile must point to the files in the resources
dataFile is your own sentence-level data in the format (class_label: C,
P, S): sentence|class_label sentence|class_label ...
|
void |
makeFeatures(String fname)
set "features" - list of features.
|
public void makeFeatures(String fname)
public static void main(String[] args)
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.