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 |
---|---|
float |
score(float freq,
float expected)
Computes distance from independence
|
String |
toString() |
public float score(float freq, float expected)
Independence
score
in class Independence
freq
- actual term frequencyexpected
- expected term frequencypublic String toString()
toString
in class Independence
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.