Click or drag to resize

SpamFilterTeacher Class

You can use this class to teach spam filter (e.g. BayesianMailFilter) to recognize which messages are spam and which are not (are ham). During learning phase, both spam and not spam (ham) messages' count should be similar (100 or more).
Inheritance Hierarchy
SystemObject
  Limilabs.Mail.Tools.SpamSpamFilterTeacher

Namespace:  Limilabs.Mail.Tools.Spam
Assembly:  Mail (in Mail.dll) Version: 3.0.23341.1754
Syntax
public class SpamFilterTeacher

The SpamFilterTeacher type exposes the following members.

Constructors
  NameDescription
Public methodSpamFilterTeacher
Creates new instance of the teacher class to teach specific filter.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodTeachHam
Use this method to teach the filter which messages are not spam (are ham).
Public methodTeachSpam
Use this method to teach the filter which messages are spam.
Public methodTest
Use this method to test the filter.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also