public class DoccatFactory extends BaseToolFactory
| Constructor and Description |
|---|
DoccatFactory()
Creates a
DoccatFactory that provides the default implementation of
the resources. |
DoccatFactory(FeatureGenerator[] featureGenerators) |
DoccatFactory(Tokenizer tokenizer,
FeatureGenerator[] featureGenerators)
Deprecated.
will be removed after 1.7.1 release. Don't use it.
|
| Modifier and Type | Method and Description |
|---|---|
static DoccatFactory |
create(String subclassName,
FeatureGenerator[] featureGenerators) |
static DoccatFactory |
create(String subclassName,
Tokenizer tokenizer,
FeatureGenerator[] featureGenerators)
Deprecated.
will be removed after 1.7.1 release. Don't use it.
|
Map<String,String> |
createManifestEntries()
Creates the manifest entries that will be added to the model manifest
|
FeatureGenerator[] |
getFeatureGenerators() |
Tokenizer |
getTokenizer()
Deprecated.
will be removed after 1.7.1 release. Don't use it.
|
void |
setFeatureGenerators(FeatureGenerator[] featureGenerators) |
void |
setTokenizer(Tokenizer tokenizer)
Deprecated.
will be removed after 1.7.1 release. Don't use it.
|
void |
validateArtifactMap()
Validates the parsed artifacts.
|
create, create, createArtifactMap, createArtifactSerializersMappublic DoccatFactory()
DoccatFactory that provides the default implementation of
the resources.public DoccatFactory(FeatureGenerator[] featureGenerators)
@Deprecated public DoccatFactory(Tokenizer tokenizer, FeatureGenerator[] featureGenerators)
DoccatFactory. Use this constructor to programmatically
create a factory.tokenizer - the tokenizerfeatureGenerators - the feature generatorspublic Map<String,String> createManifestEntries()
BaseToolFactorycreateManifestEntries in class BaseToolFactorypublic void validateArtifactMap()
throws InvalidFormatException
BaseToolFactoryInvalidFormatException.
Note:
Subclasses should generally invoke super.validateArtifactMap at the beginning
of this method.validateArtifactMap in class BaseToolFactoryInvalidFormatException@Deprecated public static DoccatFactory create(String subclassName, Tokenizer tokenizer, FeatureGenerator[] featureGenerators) throws InvalidFormatException
InvalidFormatExceptionpublic static DoccatFactory create(String subclassName, FeatureGenerator[] featureGenerators) throws InvalidFormatException
InvalidFormatExceptionpublic FeatureGenerator[] getFeatureGenerators()
public void setFeatureGenerators(FeatureGenerator[] featureGenerators)
@Deprecated public Tokenizer getTokenizer()
@Deprecated public void setTokenizer(Tokenizer tokenizer)
tokenizer - tokenizerCopyright © 2017 The Apache Software Foundation. All rights reserved.