Examples of AlphabetFactory


Examples of org.fnlp.ml.types.alphabet.AlphabetFactory

   * @throws ClassNotFoundException
   */
  public static void main(String[] args) throws ClassNotFoundException, IOException {
    String modelfile = "./models/dep.m";
    YamadaParser parser = new YamadaParser(modelfile);
    AlphabetFactory factory = parser.factory;
    Linear[] models = parser.models;
    refineModels(models,factory);

    ParserTrainer.saveModels(modelfile+1,models,factory);
    System.out.println("Done");
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.