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, createArtifactSerializersMap
public 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()
BaseToolFactory
createManifestEntries
in class BaseToolFactory
public void validateArtifactMap() throws InvalidFormatException
BaseToolFactory
InvalidFormatException
.
Note:
Subclasses should generally invoke super.validateArtifactMap at the beginning
of this method.validateArtifactMap
in class BaseToolFactory
InvalidFormatException
@Deprecated public static DoccatFactory create(String subclassName, Tokenizer tokenizer, FeatureGenerator[] featureGenerators) throws InvalidFormatException
InvalidFormatException
public static DoccatFactory create(String subclassName, FeatureGenerator[] featureGenerators) throws InvalidFormatException
InvalidFormatException
public 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.