BayesFilterLoadDatabase Method (Stream, Stream) |
Loads Bayesian database from a stream.
Namespace: MailBee.AntiSpamAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public void LoadDatabase(
Stream spamStream,
Stream nonSpamStream
)
Public Sub LoadDatabase (
spamStream As Stream,
nonSpamStream As Stream
)
Parameters
- spamStream
- Type: System.IOStream
An input stream containing spam samples. - nonSpamStream
- Type: System.IOStream
An input stream containing non-spam samples.
Exceptions Remarks
The data format in the stream is the same that is used for files (and the method behaves identically to
LoadDatabase(String, String) with the only difference that streams are used instead of files).
See Also