model = GIS.trainModel(es,USE_SMOOTHING);
}
else {
model = GIS.trainModel(100, new OnePassRealValueDataIndexer(es,0), USE_SMOOTHING);
}
writer = new SuffixSensitiveGISModelWriter(model, outputFile);
}
else if (type.equals("perceptron")){
System.err.println("Perceptron training");
model = new PerceptronTrainer().trainModel(10, new OnePassDataIndexer(es,0),0);
writer = new SuffixSensitivePerceptronModelWriter(model, outputFile);