BayesianMailFilter Class |
Namespace: Limilabs.Mail.Tools.Spam
The BayesianMailFilter type exposes the following members.
Name | Description | |
---|---|---|
BayesianMailFilter | Initializes a new instance of the BayesianMailFilter class |
Name | Description | |
---|---|---|
HamBias |
Gets or sets the overall probability that any given message is not spam (is "ham") (Pr(H))
| |
SpamBias |
Gets or sets the overall probability that any given message is spam (Pr(S))
| |
SpamThreshold |
Gets or sets the spam threshold: IsSpam = SpamProbability > SpamThreshold
|
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Examine |
Examines specified message checking the probability of the message being spam.
| |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
LearnHam |
Use this method to teach the filter that specified message is not spam (is ham).
| |
LearnSpam |
Use this method to teach the filter that specified message is spam.
| |
Load |
Loads all words used by the filter from specified file.
| |
LoadPrevious | Obsolete.
Loads all words used by the filter from specified file (old version).
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Save |
Saves all words used be the filter to specified file.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |