public class OldFormatGISModelReader extends PlainTextGISModelReader
Constructor and Description |
---|
OldFormatGISModelReader(java.lang.String modelname)
Constructor which takes the name of the model without any suffixes, such as
".mei.gz" or ".mep.gz".
|
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args)
Convert a model created with Maxent 1.0 to a format used with Maxent 1.2.
|
checkModelType, constructModel
getModel, readDouble, readInt, readUTF
public OldFormatGISModelReader(java.lang.String modelname) throws java.io.IOException
java.io.IOException
public static void main(java.lang.String[] args) throws java.io.IOException
Usage: java opennlp.tools.ml.maxent.io.OldFormatGISModelReader model_name_prefix (new_model_name)");
If the new_model_name is left unspecified, the new model will be saved in gzipped, binary format as "<model_name_prefix>.bin.gz".
java.io.IOException
Copyright © 2010 - 2020 Adobe. All Rights Reserved