public class IndependenceChiSquared extends Independence
Described as: "can be used for tasks that require high precision, against both short and long queries."
| Constructor and Description |
|---|
IndependenceChiSquared()
Sole constructor.
|
public float score(float freq,
float expected)
Independencescore in class Independencefreq - actual term frequencyexpected - expected term frequencypublic String toString()
toString in class IndependenceCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.