Re: Can bogofilter use as a Chinese spam filter?
Matthias Andree <[email protected]> Wed, 28 Mar 2007 00:43:53 +0200
| Newsgroups | gmane.mail.bogofilter.devel |
|---|---|
| Message-ID | <[email protected]> |
Õž§ schrieb: > I'm currently doing my senior project to design a spam filter on Chinese emails. In the file of bogofilter-faq.html, the part of "What can I do about Asian spam?" seems to suggest that bogofilter does not support Chinese language. Am I right? Would you like to give me some suggestions if I want to use bogofilter in Chinese language enviroment, that is to filter Chinese spam from Chinese mails? Zhang Jing, your "Subject" header line is not properly encoded in your character set and displays random characters here, not your Chinese name. Anyways: the problem with Chinese is that, unlike Indoeuropean languages that we know, written Chinese has no spaces between words, but just concatenates them until a full-stop. Bogofilter is not programmed to handle that, but will instead parse full sentences, unless they contain more than 30 words - so it may catch common spam phrases, but not individual words unfortunately. As David suggested, help with enhancing lexer.l to properly emit Chinese words as single tokens is most welcome. Hope that helps. -- Matthias Andree _______________________________________________ Bogofilter-dev mailing list [email protected] http://www.bogofilter.org/mailman/listinfo/bogofilter-dev