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