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 Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
 
- 
Field Details
- 
name
 - 
outcomes
public int[] outcomes - 
params
public double[] params 
 - 
 - 
Constructor Details
- 
ComparablePredicate
 
 - 
 - 
Method Details
- 
compareTo
- Specified by:
 compareToin interfaceComparable<ComparablePredicate>
 - 
hashCode
public int hashCode() - 
equals
 - 
toString
 
 -