Package opennlp.tools.ml.model
Class ComparablePredicate
java.lang.Object
opennlp.tools.ml.model.ComparablePredicate
- All Implemented Interfaces:
- Comparable<ComparablePredicate>
A maxent predicate representation which we can use to sort based on the
 outcomes. This allows us to make the mapping of features to their parameters
 much more compact.
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Field Details- 
name
- 
outcomespublic final int[] outcomes
- 
paramspublic final double[] params
 
- 
- 
Constructor Details- 
ComparablePredicate
 
- 
- 
Method Details- 
compareTo- Specified by:
- compareToin interface- Comparable<ComparablePredicate>
 
- 
hashCodepublic int hashCode()
- 
equals
- 
toString
 
-