SpamAnalyzer
SpamAnalyzer class
Class which allows applications to detect spam e-mails with self-learning Bayesian filter.
The SpamAnalyzer type exposes the following members:
Constructors
Name | Description |
---|---|
SpamAnalyzer() | Initialize a new instance of the SpamAnalyzer class. |
SpamAnalyzer(stream) | Initializes a new instance of the SpamAnalyzer class |
SpamAnalyzer(file_path) | Initializes a new instance of the SpamAnalyzer class |
Methods
Name | Description |
---|---|
train_filter(ham, spam) | |
train_filter(message, is_spam) | |
train_filter(text, is_spam) | |
load_database(file_path) | |
load_database(stream) | |
save_database(file_path) | |
save_database(stream) | |
test(message) | |
reset() |
See Also
- namespace aspose.email.antispam
- assembly Aspose.Email