public class DoccatModel extends BaseModel
TRAINING_CUTOFF_PROPERTY, TRAINING_EVENTHASH_PROPERTY, TRAINING_ITERATIONS_PROPERTY
Constructor and Description |
---|
DoccatModel(File modelFile) |
DoccatModel(InputStream in) |
DoccatModel(String languageCode,
MaxentModel doccatModel)
Deprecated.
Use
DoccatModel(String, MaxentModel, Map, DoccatFactory)
instead and pass in a DoccatFactory |
DoccatModel(String languageCode,
MaxentModel doccatModel,
Map<String,String> manifestInfoEntries,
DoccatFactory factory) |
DoccatModel(URL modelURL) |
Modifier and Type | Method and Description |
---|---|
MaxentModel |
getChunkerModel()
Deprecated.
Use
getMaxentModel() instead. |
DoccatFactory |
getFactory() |
MaxentModel |
getMaxentModel() |
getArtifact, getLanguage, getManifestProperty, getVersion, isLoadedFromSerialized, serialize
public DoccatModel(String languageCode, MaxentModel doccatModel, Map<String,String> manifestInfoEntries, DoccatFactory factory)
public DoccatModel(String languageCode, MaxentModel doccatModel)
DoccatModel(String, MaxentModel, Map, DoccatFactory)
instead and pass in a DoccatFactory
public DoccatModel(InputStream in) throws IOException, InvalidFormatException
IOException
InvalidFormatException
public DoccatModel(File modelFile) throws IOException, InvalidFormatException
IOException
InvalidFormatException
public DoccatModel(URL modelURL) throws IOException, InvalidFormatException
IOException
InvalidFormatException
public DoccatFactory getFactory()
public MaxentModel getChunkerModel()
getMaxentModel()
instead.public MaxentModel getMaxentModel()
Copyright © 2015 The Apache Software Foundation. All rights reserved.