Package opennlp.tools.chunker
Class ChunkerFactory
java.lang.Object
opennlp.tools.util.BaseToolFactory
opennlp.tools.chunker.ChunkerFactory
- Direct Known Subclasses:
- ParserChunkerFactory
- 
Constructor SummaryConstructorsConstructorDescriptionCreates aChunkerFactorythat provides the default implementation of the resources.
- 
Method SummaryModifier and TypeMethodDescriptionstatic ChunkerFactoryInstantiates aChunkerFactoryvia a givensubclassName.voidValidates the parsed artifacts.Methods inherited from class opennlp.tools.util.BaseToolFactorycreate, create, createArtifactMap, createArtifactSerializersMap, createManifestEntries
- 
Constructor Details- 
ChunkerFactorypublic ChunkerFactory()Creates aChunkerFactorythat provides the default implementation of the resources.
 
- 
- 
Method Details- 
createInstantiates aChunkerFactoryvia a givensubclassName.- Parameters:
- subclassName- The class name used for instantiation. If- null, an instance of- ChunkerFactorywill be returned per default. Otherwise, the- ExtensionLoadermechanism is applied to load the requested- subclassName.
- Returns:
- A valid ChunkerFactoryinstance.
- Throws:
- InvalidFormatException- Thrown if the- ExtensionLoadermechanism failed to create the factory associated with- subclassName.
 
- 
validateArtifactMapDescription copied from class:BaseToolFactoryValidates the parsed artifacts.Note: Subclasses should generally invoke super.validateArtifactMapat the beginning of this method.- Specified by:
- validateArtifactMapin class- BaseToolFactory
- Throws:
- InvalidFormatException- Thrown if validation found invalid states.
 
- 
getSequenceValidator
- 
getContextGenerator
 
-