# Uses of Class
opennlp.tools.postag.POSTaggerFactory

Packages that use POSTaggerFactory
Package
Description
opennlp.tools.postag
Package related to part-of-speech tagging.

- ## Uses of POSTaggerFactory in opennlp.tools.postag

  Methods in opennlp.tools.postag that return POSTaggerFactory
  Modifier and Type
  Method
  Description
  `static POSTaggerFactory`
  POSTaggerFactory.`create(String subclassName, byte[] featureGeneratorBytes, Map<String,Object> resources, TagDictionary posDictionary)`
  Instantiates a `POSTaggerFactory` via a given `subclassName`.
  `POSTaggerFactory`
  POSModel.`getFactory()`
  Methods in opennlp.tools.postag with parameters of type POSTaggerFactory
  Modifier and Type
  Method
  Description
  `static POSModel`
  POSTaggerME.`train(String languageCode, ObjectStream<POSSample> samples, TrainingParameters mlParams, POSTaggerFactory posFactory)`
  Starts a training of a `POSModel` with the given parameters.
  Constructors in opennlp.tools.postag with parameters of type POSTaggerFactory
  Modifier
  Constructor
  Description
  ``
  `POSModel(String languageCode, MaxentModel posModel, int beamSize, Map<String,String> manifestInfoEntries, POSTaggerFactory posFactory)`
  Initializes a `POSModel` instance via given parameters.
  ``
  `POSModel(String languageCode, MaxentModel posModel, Map<String,String> manifestInfoEntries, POSTaggerFactory posFactory)`
  Initializes a `POSModel` instance via given parameters.
  ``
  `POSModel(String languageCode, SequenceClassificationModel posModel, Map<String,String> manifestInfoEntries, POSTaggerFactory posFactory)`
  Initializes a `POSModel` instance via given parameters.
  ``
  `POSTaggerCrossValidator(String languageCode, TrainingParameters trainParam, POSTaggerFactory factory, POSTagFormat format, POSTaggerEvaluationMonitor... listeners)`
  Creates a `POSTaggerCrossValidator` using the given `POSTaggerFactory`.
  ``
  `POSTaggerCrossValidator(String languageCode, TrainingParameters trainParam, POSTaggerFactory factory, POSTaggerEvaluationMonitor... listeners)`
  Creates a `POSTaggerCrossValidator` using the given `POSTaggerFactory`.