package dmt.main;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.Vector;
import org.tartarus.snowball.SnowballStemmer;
import dmt.config.Configuration;
import dmt.processors.BagOfWordsProcessor;
import dmt.processors.BuildListOfWordsProcessor;
import dmt.processors.CSVProcessor;
import dmt.processors.CollectClustersProcessor;
import dmt.tools.CSVFileReader;
import dmt.tools.CSVFileWriter;
public class Main
{
public static void main(String[] args) throws FileNotFoundException,
IOException
{
CSVProcessor processor1 = new CSVProcessor(Configuration.INITIAL_DATASET, Configuration.OUTPUT_CSV_FEATURES);
processor1.run();
/*BuildListOfWordsProcessor processorBuildListOfWords = new BuildListOfWordsProcessor(
Configuration.INITIAL_DATASET,
Configuration.BAG_OF_WORDS_INITIAL,
Configuration.BAG_OF_WORDS_FINAL
);
processorBuildListOfWords.run();
BagOfWordsProcessor proc = new BagOfWordsProcessor(Configuration.INITIAL_DATASET, Configuration.OUTPUT_CSV_WORDS);
proc.run();*/
CollectClustersProcessor processor = new CollectClustersProcessor(Configuration.OUTPUT_CSV_FEATURES,
"datasets/clusters_victor.csv",
"datasets/clusters_marina5.csv",
5,
5,
"output/data_with_clusters_final.csv");
processor.run();
}
}