MailBee.NET Objects 4.0

BayesFilter Members

BayesFilter overview

Public Static Properties

LicenseKey Assigns the license key.

Public Instance Constructors

BayesFilter Constructor Initializes a new instance of the BayesFilter class.

Public Instance Properties

Algorithm Gets or sets the algorithm to be used for scoring messages.
AutoLearning Gets or sets if the filter should automatically learn during scoring messages on the words with the sufficient spam/non-spam weight.
AutoLearningGradeAbove Gets or sets the minimum score the message should get so that the filter will treat it as spam and automatically learn this.
AutoLearningGradeBelow Gets or sets the maximum score the message should get so that the filter will treat it as non-spam and automatically learn this.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
LoadDatabase Loads Bayesian database from disk.
SaveDatabaseOverloaded. Saves the Bayesian database to disk.
ScoreMessage Analyses the message and returns the probability of the message being spam.
ToString (inherited from Object) Returns a String that represents the current Object.
TrainFilter Learns from the specified message as from spam or non-spam source.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

BayesFilter Class | MailBee.AntiSpam Namespace