log_lh = sum([C.prob_classify(ftdic).prob(label) for ftdic, label in
    labeled_data])
log_lh += sum([C.prob_classify(ftdic).prob(label) for ftdic, ignore in
    unlabeled_data for label in l_freqdist_act.samples()])
Semi-supervised Naive Bayes with NLTK