Package opennlp.tools.chunker
Klasse ChunkerFactory
java.lang.Object
opennlp.tools.util.BaseToolFactory
opennlp.tools.chunker.ChunkerFactory
- Bekannte direkte Unterklassen:
ParserChunkerFactory
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungCreates aChunkerFactorythat provides the default implementation of the resources. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic ChunkerFactoryInstantiates aChunkerFactoryvia a givensubclassName.voidValidates the parsed artifacts.Von Klasse geerbte Methoden opennlp.tools.util.BaseToolFactory
create, create, createArtifactMap, createArtifactSerializersMap, createManifestEntries
-
Konstruktordetails
-
ChunkerFactory
public ChunkerFactory()Creates aChunkerFactorythat provides the default implementation of the resources.
-
-
Methodendetails
-
create
Instantiates aChunkerFactoryvia a givensubclassName.- Parameter:
subclassName- The class name used for instantiation. Ifnull, an instance ofChunkerFactorywill be returned per default. Otherwise, theExtensionLoadermechanism is applied to load the requestedsubclassName.- Gibt zurück:
- A valid
ChunkerFactoryinstance. - Löst aus:
InvalidFormatException- Thrown if theExtensionLoadermechanism failed to create the factory associated withsubclassName.
-
validateArtifactMap
Beschreibung aus Klasse kopiert:BaseToolFactoryValidates the parsed artifacts.Note: Subclasses should generally invoke
super.validateArtifactMapat the beginning of this method.- Angegeben von:
validateArtifactMapin KlasseBaseToolFactory- Löst aus:
InvalidFormatException- Thrown if validation found invalid states.
-
getSequenceValidator
-
getContextGenerator
-