SpamAnalyzer
SpamAnalyzer class
Class which allows applications to detect spam e-mails with self-learning Bayesian filter.
Constructors
| Name | Description |
|---|---|
| SpamAnalyzer (3 overloads) | Initialize a new instance of the Aspose::Email::AntiSpam::SpamAnalyzer class. |
Methods
| Name | Description |
|---|---|
| get_Filter | For testing only. |
| LoadDatabase (2 overloads) | Loads Bayesian database from stream. |
| Reset | Clears all statistics (Bayesian database). |
| SaveDatabase (2 overloads) | Saves the Bayesian database to stream. |
| Test | Analyses the message and returns the probability of the message being spam. |
| TrainFilter (3 overloads) | Learns from the specified messages as from spam or non-spam source. |