public class OldFormatGISModelReader extends PlainTextGISModelReader
| Constructor and Description |
|---|
OldFormatGISModelReader(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(String[] args)
Convert a model created with Maxent 1.0 to a format used with Maxent 1.2.
|
checkModelType, constructModelgetModel, readDouble, readInt, readUTFpublic OldFormatGISModelReader(String modelname) throws IOException
IOExceptionpublic static void main(String[] args) throws 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".
IOExceptionCopyright © 2015 The Apache Software Foundation. All rights reserved.