Package opennlp.tools.lemmatizer
Klasse LemmatizerFactory
java.lang.Object
opennlp.tools.util.BaseToolFactory
opennlp.tools.lemmatizer.LemmatizerFactory
The factory that provides
Lemmatizer default implementation and
resources.-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungInstantiates aLemmatizerFactorythat provides the default implementation of the resources. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic LemmatizerFactoryInstantiates aLemmatizerFactoryvia a givensubclassName.voidValidates the parsed artifacts.Von Klasse geerbte Methoden opennlp.tools.util.BaseToolFactory
create, create, createArtifactMap, createArtifactSerializersMap, createManifestEntries
-
Konstruktordetails
-
LemmatizerFactory
public LemmatizerFactory()Instantiates aLemmatizerFactorythat provides the default implementation of the resources.
-
-
Methodendetails
-
create
Instantiates aLemmatizerFactoryvia a givensubclassName.- Parameter:
subclassName- The class name used for instantiation. Ifnull, an instance ofLemmatizerFactorywill be returned per default. Otherwise, theExtensionLoadermechanism is applied to load the requestedsubclassName.- Gibt zurück:
- A valid
LemmatizerFactoryinstance. - Löst aus:
InvalidFormatException
-
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
- Gibt zurück:
- Retrieves a new
SequenceValidatorinstance.
-
getContextGenerator
- Gibt zurück:
- Retrieves a new
LemmatizerContextGeneratorinstance.
-