public class IndependenceSaturated extends Independence
Described as: "for tasks that require high recall against long queries"
Constructor and Description |
---|
IndependenceSaturated()
Sole constructor.
|
Modifier and Type | Method and Description |
---|---|
double |
score(double freq,
double expected)
Computes distance from independence
|
String |
toString() |
public double score(double freq, double expected)
Independence
score
in class Independence
freq
- actual term frequencyexpected
- expected term frequencypublic String toString()
toString
in class Independence
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.