Searched refs:shannon_correction (Results 1 – 1 of 1) sorted by relevance
649 weight_t shannon_correction = 0.0; in score_word() local674 shannon_correction = 1.0 + log((weight_t)h->count * in score_word()677 shannon_correction += log((weight_t)h->count)*(weight_t)h->count in score_word()691 shannon_correction = 1.0 - log(2.0 * M_PI)/2.0; in score_word()693 shannon_correction = 0; in score_word()843 cat[i].score_shannon += shannon_correction; in score_word()