Package org.fnlp.nlp.parser.dep

Examples of org.fnlp.nlp.parser.dep.YamadaParser


   * @throws ClassNotFoundException
   * @throws IOException
   */
  public ParserTester(String modelfile) throws IOException,
      ClassNotFoundException {
    parser = new YamadaParser(modelfile);
  }
View Full Code Here


   * @throws IOException
   * @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);
View Full Code Here

TOP

Related Classes of org.fnlp.nlp.parser.dep.YamadaParser

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.