## Uses of Interface
opennlp.tools.ml.model.Prior

- Packages that use Prior
  Package | Description
  --- | ---
  opennlp.tools.ml.maxent | Provides main functionality of the maxent package including data structures and algorithms for parameter estimation.
  opennlp.tools.ml.model |

- - ### Uses of Prior in opennlp.tools.ml.maxent

    Methods in opennlp.tools.ml.maxent with parameters of type Prior
    Modifier and Type | Method and Description
    --- | ---
    `GISModel` | GISTrainer.`trainModel(int iterations, DataIndexer di, Prior modelPrior, int threads)` Train a model using the GIS algorithm.

    Constructors in opennlp.tools.ml.maxent with parameters of type Prior
    Constructor and Description
    `GISModel(Context[] params, String[] predLabels, String[] outcomeNames, Prior prior)` Creates a new model with the specified parameters, outcome names, and predicate/feature labels.

  - ### Uses of Prior in opennlp.tools.ml.model

    Classes in opennlp.tools.ml.model that implement Prior
    Modifier and Type | Class and Description
    --- | ---
    `class` | `UniformPrior` Provide a maximum entropy model with a uniform prior.

    Fields in opennlp.tools.ml.model declared as Prior
    Modifier and Type | Field and Description
    --- | ---
    `protected Prior` | AbstractModel.`prior` Prior distribution for this model.

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