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