Skip to content

qoter/NaiveBayesSpamFilter

Repository files navigation

Naive Bayes spam filter

How to run?

$ NaiveBayesSpamFilter.exe -h <hamDirectory> -s <spamDirectory> -u <unknownDirectory>

hamDirectory - path to directory with only ham messages.
spamDirectory - path to directory with only spam messages.
unknownDirectory - path to directory with unknown (spam or not) messages.

Results

Program print to stdout strings: {filename}:{1 if is_spam(filename) else 0}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages