Uses of Class opennlp.tools.ml.model.ComparablePredicate (Apache OpenNLP Tools 1.9.5 API)
Date: 2026-06-18

## Uses of Class
opennlp.tools.ml.model.ComparablePredicate

- Packages that use ComparablePredicate
  Package | Description
  --- | ---
  opennlp.tools.ml.maxent.io | Provides the I/O functionality of the maxent package including reading and writing models in several formats.
  opennlp.tools.ml.model |
  opennlp.tools.ml.naivebayes |
  opennlp.tools.ml.perceptron |

- - ### Uses of ComparablePredicate in opennlp.tools.ml.maxent.io

    Methods in opennlp.tools.ml.maxent.io that return ComparablePredicate
    Modifier and Type | Method and Description
    --- | ---
    `protected ComparablePredicate[]` | GISModelWriter.`sortValues()`

    Methods in opennlp.tools.ml.maxent.io that return types with arguments of type ComparablePredicate
    Modifier and Type | Method and Description
    --- | ---
    `protected List<List<ComparablePredicate>>` | GISModelWriter.`compressOutcomes(ComparablePredicate[] sorted)`

    Methods in opennlp.tools.ml.maxent.io with parameters of type ComparablePredicate
    Modifier and Type | Method and Description
    --- | ---
    `protected List<List<ComparablePredicate>>` | GISModelWriter.`compressOutcomes(ComparablePredicate[] sorted)`

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

    Methods in opennlp.tools.ml.model with parameters of type ComparablePredicate
    Modifier and Type | Method and Description
    --- | ---
    `int` | ComparablePredicate.`compareTo(ComparablePredicate cp)`

  - ### Uses of ComparablePredicate in opennlp.tools.ml.naivebayes

    Methods in opennlp.tools.ml.naivebayes that return ComparablePredicate
    Modifier and Type | Method and Description
    --- | ---
    `protected ComparablePredicate[]` | NaiveBayesModelWriter.`sortValues()`

    Methods in opennlp.tools.ml.naivebayes that return types with arguments of type ComparablePredicate
    Modifier and Type | Method and Description
    --- | ---
    `protected List<List<ComparablePredicate>>` | NaiveBayesModelWriter.`compressOutcomes(ComparablePredicate[] sorted)`
    `protected List<List<ComparablePredicate>>` | NaiveBayesModelWriter.`computeOutcomePatterns(ComparablePredicate[] sorted)`

    Methods in opennlp.tools.ml.naivebayes with parameters of type ComparablePredicate
    Modifier and Type | Method and Description
    --- | ---
    `protected List<List<ComparablePredicate>>` | NaiveBayesModelWriter.`compressOutcomes(ComparablePredicate[] sorted)`
    `protected List<List<ComparablePredicate>>` | NaiveBayesModelWriter.`computeOutcomePatterns(ComparablePredicate[] sorted)`

  - ### Uses of ComparablePredicate in opennlp.tools.ml.perceptron

    Methods in opennlp.tools.ml.perceptron that return ComparablePredicate
    Modifier and Type | Method and Description
    --- | ---
    `protected ComparablePredicate[]` | PerceptronModelWriter.`sortValues()`

    Methods in opennlp.tools.ml.perceptron that return types with arguments of type ComparablePredicate
    Modifier and Type | Method and Description
    --- | ---
    `protected List<List<ComparablePredicate>>` | PerceptronModelWriter.`computeOutcomePatterns(ComparablePredicate[] sorted)`

    Methods in opennlp.tools.ml.perceptron with parameters of type ComparablePredicate
    Modifier and Type | Method and Description
    --- | ---
    `protected List<List<ComparablePredicate>>` | PerceptronModelWriter.`computeOutcomePatterns(ComparablePredicate[] sorted)`

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