public override float Score(BasicStats stats, float freq, float docLen) { float tfn = m_normalization.Tfn(stats, freq, docLen); return(stats.TotalBoost * m_basicModel.Score(stats, tfn) * m_afterEffect.Score(stats, tfn)); }
public override float Score(BasicStats stats, float freq, float docLen) { return(stats.TotalBoost * m_distribution.Score(stats, m_normalization.Tfn(stats, freq, docLen), m_lambda.CalculateLambda(stats))); }