Package opennlp.tools.lemmatizer
Class LemmatizerFactory
java.lang.Object
opennlp.tools.util.BaseToolFactory
opennlp.tools.lemmatizer.LemmatizerFactory
The factory that provides 
Lemmatizer default implementation and
 resources.- 
Constructor SummaryConstructorsConstructorDescriptionInstantiates aLemmatizerFactorythat provides the default implementation of the resources.
- 
Method SummaryModifier and TypeMethodDescriptionstatic LemmatizerFactoryInstantiates aLemmatizerFactoryvia a givensubclassName.voidValidates the parsed artifacts.Methods inherited from class opennlp.tools.util.BaseToolFactorycreate, create, createArtifactMap, createArtifactSerializersMap, createManifestEntries
- 
Constructor Details- 
LemmatizerFactorypublic LemmatizerFactory()Instantiates aLemmatizerFactorythat provides the default implementation of the resources.
 
- 
- 
Method Details- 
createInstantiates aLemmatizerFactoryvia a givensubclassName.- Parameters:
- subclassName- The class name used for instantiation. If- null, an instance of- LemmatizerFactorywill be returned per default. Otherwise, the- ExtensionLoadermechanism is applied to load the requested- subclassName.
- Returns:
- A valid LemmatizerFactoryinstance.
- Throws:
- InvalidFormatException
 
- 
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- Returns:
- Retrieves a new SequenceValidatorinstance.
 
- 
getContextGenerator- Returns:
- Retrieves a new LemmatizerContextGeneratorinstance.
 
 
-