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, setManifestPropertyprotected DoccatModel(String languageCode, AbstractModel doccatModel, Map<String,String> manifestInfoEntries)
public DoccatModel(String languageCode, AbstractModel doccatModel)
public DoccatModel(InputStream in) throws IOException, InvalidFormatException
IOExceptionInvalidFormatExceptionpublic DoccatModel(File modelFile) throws IOException, InvalidFormatException
IOExceptionInvalidFormatExceptionpublic DoccatModel(URL modelURL) throws IOException, InvalidFormatException
IOExceptionInvalidFormatExceptionprotected void validateArtifactMap()
throws InvalidFormatException
BaseModelInvalidFormatException.
Note:
Subclasses should generally invoke super.validateArtifactMap at the beginning
of this method.validateArtifactMap in class BaseModelInvalidFormatExceptionpublic AbstractModel getChunkerModel()
Copyright © 2016 The Apache Software Foundation. All rights reserved.