# Uses of Enum Class
opennlp.tools.postag.POSTagFormat

Packages that use POSTagFormat
Package
Description
opennlp.tools.postag

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

  Methods in opennlp.tools.postag that return POSTagFormat
  Modifier and Type
  Method
  Description
  `POSTagFormat`
  POSTagFormatMapper.`getGuessedFormat()`
  `POSTagFormat`
  POSTagFormatMapper.NoOp.`getGuessedFormat()`
  `static POSTagFormat`
  POSTagFormatMapper.`guessFormat(POSModel posModel)`
  Guesses the `POSTagFormat` of a given `POSModel`
  `static POSTagFormat`
  POSTagFormat.`valueOf(String name)`
  Returns the enum constant of this class with the specified name.
  `static POSTagFormat[]`
  POSTagFormat.`values()`
  Returns an array containing the constants of this enum class, in the order they are declared.
  Constructors in opennlp.tools.postag with parameters of type POSTagFormat
  Modifier
  Constructor
  Description
  ``
  `POSTaggerCrossValidator(String languageCode, opennlp.tools.util.TrainingParameters trainParam, File tagDictionary, byte[] featureGeneratorBytes, Map<String,Object> resources, Integer tagdicCutoff, String factoryClass, POSTagFormat format, opennlp.tools.postag.POSTaggerEvaluationMonitor... listeners)`
  Initializes a `POSTaggerCrossValidator` that builds a ngram dictionary dynamically.
  ``
  `POSTaggerCrossValidator(String languageCode, opennlp.tools.util.TrainingParameters trainParam, POSTaggerFactory factory, POSTagFormat format, opennlp.tools.postag.POSTaggerEvaluationMonitor... listeners)`
  Creates a `POSTaggerCrossValidator` using the given `POSTaggerFactory`.
  ``
  `POSTaggerME(String language, POSTagFormat format)`
  Initializes a `POSTaggerME` by downloading a default model for a given `language`.
  ``
  `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(String language, POSTagFormat format)`
  Deprecated.
  Initializes a `ThreadSafePOSTaggerME` by downloading a default model for a given `language`.
  ``
  `ThreadSafePOSTaggerME(POSModel model, POSTagFormat format)`
  Deprecated.
  Initializes a `ThreadSafePOSTaggerME` with the specified `model`.