Filtering the message catalog using Bayesian spam filtering / loop on regular expression

前端 未结 0 658
闹比i
闹比i 2021-01-21 21:51

The main method, which I use to train the spam-filter:

  1. yield the catalog [from corpus import Corpus]
  2. every word in message, if it has "SPAM" or &
相关标签:
回答
  • 消灭零回复
提交回复
热议问题