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

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

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

  Methods in opennlp.tools.postag that return POSTagFormat
  Modifier and Type
  Method
  Description
  `POSTagFormat`
  POSTagFormatMapper.`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, TrainingParameters trainParam, File tagDictionary, byte[] featureGeneratorBytes, Map<String,Object> resources, Integer tagdicCutoff, String factoryClass, POSTagFormat format, POSTaggerEvaluationMonitor... listeners)`
  Initializes a `POSTaggerCrossValidator` that builds a ngram dictionary dynamically.
  ``
  `POSTaggerCrossValidator(String languageCode, TrainingParameters trainParam, POSTaggerFactory factory, POSTagFormat format, 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`.