List of usage examples for opennlp.tools.cmdline CmdLineUtil writeModel
public static void writeModel(String modelName, File modelFile, BaseModel model)
From source file:opennlp.tools.disambiguator.WSDModel.java
public boolean writeModel(String path) { File outFile = new File(path + ".wsd.model"); CmdLineUtil.writeModel("wsd model", outFile, this); return true;/*from www .j ava 2 s .com*/ }