Package opennlp.tools.ml.perceptron

Examples of opennlp.tools.ml.perceptron.PlainTextPerceptronModelWriter


    }
  }

  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);
    }
  }
View Full Code Here

TOP

Related Classes of opennlp.tools.ml.perceptron.PlainTextPerceptronModelWriter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.