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, serializepublic 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 DoccatFactorypublic DoccatModel(InputStream in) throws IOException, InvalidFormatException
IOExceptionInvalidFormatExceptionpublic DoccatModel(File modelFile) throws IOException, InvalidFormatException
IOExceptionInvalidFormatExceptionpublic DoccatModel(URL modelURL) throws IOException, InvalidFormatException
IOExceptionInvalidFormatExceptionpublic DoccatFactory getFactory()
public MaxentModel getChunkerModel()
getMaxentModel() instead.public MaxentModel getMaxentModel()
Copyright © 2015 The Apache Software Foundation. All rights reserved.