forum wrote: > I can found only Bayes.pm and method tokenize that is used when > learning an e-mail. > I want to know which file that is used to compute Bayes score for > incomming mail > > Thanks > Heng
1) why do you care? 2) look further into bayes.pm at sub compute_prob_for_token and sub scan. Also, look at EvalTests.pm sub check_bayes, which is the top level function that the rules call, and this function in turn calls Bayes.pm's scan (if the probability wasn't already computed).