Uses of Class opennlp.tools.postag.POSTaggerFactory (Apache OpenNLP Tools 1.9.5 API)
Date: 2026-06-18

## 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 and Description
    --- | ---
    `static POSTaggerFactory` | POSTaggerFactory.`create(String subclassName, byte[] featureGeneratorBytes, Map<String,Object> resources, TagDictionary posDictionary)`
    `static POSTaggerFactory` | POSTaggerFactory.`create(String subclassName, Dictionary ngramDictionary, TagDictionary posDictionary)` Deprecated.
    `POSTaggerFactory` | POSModel.`getFactory()`

    Methods in opennlp.tools.postag with parameters of type POSTaggerFactory
    Modifier and Type | Method and Description
    --- | ---
    `static POSModel` | POSTaggerME.`train(String languageCode, ObjectStream<POSSample> samples, TrainingParameters trainParams, POSTaggerFactory posFactory)`

    Constructors in opennlp.tools.postag with parameters of type POSTaggerFactory
    Constructor and Description
    `POSModel(String languageCode, MaxentModel posModel, int beamSize, Map<String,String> manifestInfoEntries, POSTaggerFactory posFactory)`
    `POSModel(String languageCode, MaxentModel posModel, Map<String,String> manifestInfoEntries, POSTaggerFactory posFactory)`
    `POSModel(String languageCode, SequenceClassificationModel<String> posModel, Map<String,String> manifestInfoEntries, POSTaggerFactory posFactory)`
    `POSTaggerCrossValidator(String languageCode, TrainingParameters trainParam, POSTaggerFactory factory, POSTaggerEvaluationMonitor... listeners)` Creates a `POSTaggerCrossValidator` using the given `POSTaggerFactory`.

Copyright © 2026 The Apache Software Foundation. All rights reserved.