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");
	}
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" ) ; }
@param args
@throws IOException
@throws ClassNotFoundException