Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/simonbrandner/rph-spam-filter
https://github.com/simonbrandner/rph-spam-filter
Last synced: 22 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/simonbrandner/rph-spam-filter
- Owner: SimonBrandner
- Created: 2024-11-27T09:22:29.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-12-29T13:24:12.000Z (28 days ago)
- Last Synced: 2024-12-30T10:41:57.575Z (27 days ago)
- Language: Python
- Size: 53.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Spam filter
This is an implementation of a spam filter using Naive Bayes filtering in
Python for course Solving Problems and Other Games which is taught at CTU FEE.
The instructions for the task are available on the [course's
website](https://cw.fel.cvut.cz/b241/courses/b4b33rph/cviceni/spam/start).## Dependencies
- BeautifulSoup4
## Running
The code can be cloned as follows:
```
git clone https://github.com/SimonBrandner/rph-spam-filter
```To test the spam filter on a dataset `path/to/dataset_name`, you can move the
dataset as follows:```
mkdir -p rph-spam-filter/src/assets
mv path/to/dataset_name rph-spam-filter/src/assets/dataset_name
```You can run the spam filter using the following:
```
rph-spam-filter/src
python test.py
```