Class DefinitionFeatureGeneratorFactory

java.lang.Object
opennlp.tools.util.featuregen.GeneratorFactory.AbstractXmlFeatureGeneratorFactory
opennlp.tools.util.featuregen.DefinitionFeatureGeneratorFactory

public class DefinitionFeatureGeneratorFactory extends GeneratorFactory.AbstractXmlFeatureGeneratorFactory
A GeneratorFactory that produces OutcomePriorFeatureGenerator instances when create() is called.
See Also:
  • Constructor Details

    • DefinitionFeatureGeneratorFactory

      public DefinitionFeatureGeneratorFactory()
  • Method Details

    • create

      public opennlp.tools.util.featuregen.AdaptiveFeatureGenerator create() throws opennlp.tools.util.InvalidFormatException
      Specified by:
      create in class GeneratorFactory.AbstractXmlFeatureGeneratorFactory
      Returns:
      null if the subclass uses GeneratorFactory.AbstractXmlFeatureGeneratorFactory.resourceManager to instantiate.
      Throws:
      opennlp.tools.util.InvalidFormatException - Thrown if the format is incorrect.