Can someone explain me how BAYES filter work and if there is a DELPHI VCL/Library for it ?
Who is Participating?
grbladesConnect With a Mentor Commented:
No sorry I dont know of any delphi code sites.

There is written in php which is an easy to understand language. You could look at that and convert it to delphi.
This is a good guide and has a basic description of how a bayes filter works.

Also have a look at

The bayes algorithm is only one part of a spam system though. You also need to consider what to do about expiring content from the bayes database.
You can also create your own bayes tokens for other characteristics of the message such as the number of hours ahead or behind actual time the email was sent. A lot of spam is sent with a sent date weeks or more in the past so that type of additional check can be very good. Its that sort of thing which differentiates one bayes based antispam tool from another.
yarekAuthor Commented:
ok, any samples for delphi implementation ?
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.