opennlp.tools.chunker
Class ChunkerFactory
java.lang.Object
opennlp.tools.util.BaseToolFactory
opennlp.tools.chunker.ChunkerFactory
public class ChunkerFactory
- extends BaseToolFactory
ChunkerFactory
public ChunkerFactory()
- Creates a
ChunkerFactory
that provides the default implementation
of the resources.
create
public static ChunkerFactory create(String subclassName)
throws InvalidFormatException
- Throws:
InvalidFormatException
validateArtifactMap
public void validateArtifactMap()
throws InvalidFormatException
- Description copied from class:
BaseToolFactory
- Validates the parsed artifacts. If something is not
valid subclasses should throw an
InvalidFormatException
.
Note:
Subclasses should generally invoke super.validateArtifactMap at the beginning
of this method.
- Specified by:
validateArtifactMap
in class BaseToolFactory
- Throws:
InvalidFormatException
getSequenceValidator
public SequenceValidator<String> getSequenceValidator()
getContextGenerator
public ChunkerContextGenerator getContextGenerator()
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.