public class DoccatModel extends BaseModel
artifactMap, FACTORY_NAME, MANIFEST_ENTRY, toolFactory, TRAINING_CUTOFF_PROPERTY, TRAINING_EVENTHASH_PROPERTY, TRAINING_ITERATIONS_PROPERTY
Modifier | Constructor and Description |
---|---|
|
DoccatModel(File modelFile) |
|
DoccatModel(InputStream in) |
|
DoccatModel(String languageCode,
AbstractModel doccatModel) |
protected |
DoccatModel(String languageCode,
AbstractModel doccatModel,
Map<String,String> manifestInfoEntries) |
|
DoccatModel(URL modelURL) |
Modifier and Type | Method and Description |
---|---|
AbstractModel |
getChunkerModel() |
protected void |
validateArtifactMap()
Validates the parsed artifacts.
|
checkArtifactMap, createArtifactSerializers, createArtifactSerializers, getArtifact, getArtifactSerializer, getDefaultFactory, getLanguage, getManifestProperty, getVersion, isLoadedFromSerialized, serialize, setManifestProperty
protected DoccatModel(String languageCode, AbstractModel doccatModel, Map<String,String> manifestInfoEntries)
public DoccatModel(String languageCode, AbstractModel doccatModel)
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
protected void validateArtifactMap() throws InvalidFormatException
BaseModel
InvalidFormatException
.
Note:
Subclasses should generally invoke super.validateArtifactMap at the beginning
of this method.validateArtifactMap
in class BaseModel
InvalidFormatException
public AbstractModel getChunkerModel()
Copyright © 2015 The Apache Software Foundation. All rights reserved.