SpamAnalyzer Methods

The SpamAnalyzer type exposes the following members.

Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodLoadDatabase(Stream)
Loads Bayesian database from stream.
Public methodLoadDatabase(String)
Loads Bayesian database from file.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodReset
Clears all statistics (Bayesian database).
Public methodSaveDatabase(Stream)
Saves the Bayesian database to stream.
Public methodSaveDatabase(String)
Saves the Bayesian database to file.
Public methodTest
Analyses the message and returns the probability of the message being spam.
Public methodToString (Inherited from Object.)
Public methodTrainFilter(String, Boolean)
Learns from the specified string as from spam or non-spam source.
Public methodTrainFilter(MailMessage, Boolean)
Learns from the specified message as from spam or non-spam source.
Public methodTrainFilter(MailMessage, MailMessage)
Learns from the specified messages as from spam or non-spam source.
See Also