# Uses of Class
opennlp.tools.postag.POSModel

Packages that use POSModel
Package
Description
opennlp.tools.parser
opennlp.tools.postag
opennlp.tools.util.featuregen
opennlp.tools.util.model

- ## Uses of POSModel in opennlp.tools.parser

  Methods in opennlp.tools.parser that return POSModel
  Modifier and Type
  Method
  Description
  `POSModel`
  ParserModel.`getParserTaggerModel()`
  Methods in opennlp.tools.parser with parameters of type POSModel
  Modifier and Type
  Method
  Description
  `ParserModel`
  ParserModel.`updateTaggerModel(POSModel taggerModel)`
  Instantiates a new `ParserModel` instance from the existing configuration with the specified `taggerModel` for exchange.
  Constructors in opennlp.tools.parser with parameters of type POSModel
  Modifier
  Constructor
  Description
  ``
  `ParserModel(String languageCode, opennlp.tools.ml.model.MaxentModel buildModel, opennlp.tools.ml.model.MaxentModel checkModel, opennlp.tools.ml.model.MaxentModel attachModel, POSModel parserTagger, ChunkerModel chunkerTagger, opennlp.tools.parser.HeadRules headRules, opennlp.tools.parser.ParserType modelType)`
  Initializes a `ParserModel` instance via given parameters.
  ``
  `ParserModel(String languageCode, opennlp.tools.ml.model.MaxentModel buildModel, opennlp.tools.ml.model.MaxentModel checkModel, opennlp.tools.ml.model.MaxentModel attachModel, POSModel parserTagger, ChunkerModel chunkerTagger, opennlp.tools.parser.HeadRules headRules, opennlp.tools.parser.ParserType modelType, Map<String,String> manifestInfoEntries)`
  Initializes a `ParserModel` instance via given parameters.
  ``
  `ParserModel(String languageCode, opennlp.tools.ml.model.MaxentModel buildModel, opennlp.tools.ml.model.MaxentModel checkModel, POSModel parserTagger, ChunkerModel chunkerTagger, opennlp.tools.parser.HeadRules headRules, opennlp.tools.parser.ParserType type, Map<String,String> manifestInfoEntries)`
  Initializes a `ParserModel` instance via given parameters.

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

  Methods in opennlp.tools.postag that return POSModel
  Modifier and Type
  Method
  Description
  `static POSModel`
  POSTaggerME.`train(String languageCode, opennlp.tools.util.ObjectStream<opennlp.tools.postag.POSSample> samples, opennlp.tools.util.TrainingParameters mlParams, POSTaggerFactory posFactory)`
  Starts a training of a `POSModel` with the given parameters.
  Methods in opennlp.tools.postag with parameters of type POSModel
  Modifier and Type
  Method
  Description
  `static POSTagFormat`
  POSTagFormatMapper.`guessFormat(POSModel posModel)`
  Guesses the `POSTagFormat` of a given `POSModel`
  Constructors in opennlp.tools.postag with parameters of type POSModel
  Modifier
  Constructor
  Description
  ``
  `POSTaggerME(POSModel model)`
  Initializes a `POSTaggerME` with the provided `model`.
  ``
  `POSTaggerME(POSModel model, POSTagFormat format)`
  Initializes a `POSTaggerME` with the provided `model`.
  ``
  `POSTaggerME(POSModel model, POSTagFormat format, int contextCacheSize)`
  Initializes a `POSTaggerME` with the provided `model` and explicit cache configuration.
  ``
  `ThreadSafePOSTaggerME(POSModel model)`
  Deprecated.
  Initializes a `ThreadSafePOSTaggerME` with the specified `model`.
  ``
  `ThreadSafePOSTaggerME(POSModel model, POSTagFormat format)`
  Deprecated.
  Initializes a `ThreadSafePOSTaggerME` with the specified `model`.

- ## Uses of POSModel in opennlp.tools.util.featuregen

  Constructors in opennlp.tools.util.featuregen with parameters of type POSModel
  Modifier
  Constructor
  Description
  ``
  `POSTaggerNameFeatureGenerator(POSModel aPosModel)`
  Initializes a `POSTaggerNameFeatureGenerator` with the specified `POSModel`.

- ## Uses of POSModel in opennlp.tools.util.model

  Methods in opennlp.tools.util.model that return POSModel
  Modifier and Type
  Method
  Description
  `POSModel`
  POSModelSerializer.`create(InputStream in)`
  Methods in opennlp.tools.util.model with parameters of type POSModel
  Modifier and Type
  Method
  Description
  `void`
  POSModelSerializer.`serialize(POSModel artifact, OutputStream out)`