}
}
private void init(AbstractModel model, BufferedWriter bw) {
if (model.getModelType() == ModelType.Perceptron) {
delegateWriter = new PlainTextPerceptronModelWriter(model,bw);
}
else if (model.getModelType() == ModelType.Maxent) {
delegateWriter = new PlainTextGISModelWriter(model,bw);
}
}