Solved

DELPHI BAYES FILTER

Posted on 2007-03-28
3
546 Views
Last Modified: 2013-12-09
Can someone explain me how BAYES filter work and if there is a DELPHI VCL/Library for it ?
0
Comment
Question by:yarek
  • 2
3 Comments
 
LVL 36

Expert Comment

by:grblades
ID: 18825210
This is a good guide and has a basic description of how a bayes filter works.
http://www.paulgraham.com/antispam.html

Also have a look at
http://www.internet-description.com/b/bayes-filter.html
http://en.wikipedia.org/wiki/Bayesian_spam_filtering

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.
0
 

Author Comment

by:yarek
ID: 18826776
ok, any samples for delphi implementation ?
0
 
LVL 36

Accepted Solution

by:
grblades earned 500 total points
ID: 18827965
No sorry I dont know of any delphi code sites.

There is http://www.hotscripts.com/Detailed/58242.html written in php which is an easy to understand language. You could look at that and convert it to delphi.
0

Featured Post

How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Encryption for Business Encryption (https://en.wikipedia.org/wiki/Encryption) ensures the safety of our data when sending emails. In most cases, to read an encrypted email you must enter a secret key that will enable you to decrypt the email. T…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question