MCPcopy Index your code
hub / github.com/MariyaSha/SimpleSMSspamFilter_GUI

github.com/MariyaSha/SimpleSMSspamFilter_GUI @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
7 symbols 26 edges 4 files 4 documented · 57%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

SimpleSMSspamFilter_GUI

The GUI Version of Simple SMS Spam Filter created with DearPy GUI

This simple program labels user-provided strings as spam or not spam (ham)

You can run it easily from your own command line terminal with "python Dearpy.py"

/finishedProject

This directory contains the full version of the app.

/starterFiles

This directory contains only the logo, database, and functions.py

app.py is incomplete, and is only useful to you if you follow the Python Simplified tutorial on Youtube:

https://youtu.be/2RocXKPPx4o

DearPyGUI

Dependencies:

  • DearPy GUI
  • Pandas
  • NLTK
  • String

Database from:

http://www.dt.fee.unicamp.br/~tiago/smsspamcollection/

Author: Mariya Sha

Email: mariyasha888@gmail.com

This project was created for learning purposes, so feel free to use

whichever parts of this applicatioin you need to help you become better at programming.

!!! * Important Notes * !!!

If you get the following error:

TypeError: function missing required argument 'pmax' (pos 4) Exception: Error parsing DearPyGui Marvel::draw_image command on line 16

Try adjusting your draw_image function to:

draw_image("logo", "logo_spamFilter.png", [0,0], [458,192])

!!! * Important Notes for Mac Users * !!!

add wrap=0 to your add_text() function:

add_text("Please enter an SMS message of your choice to check if it's spam or not", color=[232,163,33])

A Special Thank You to Jerimiah Ham who shared this solution on YouTube for the Important Notes above and globalizing the pred list!

Another Special Thank You to DroidZed : Gaming - IT for suggesting the global pred list!

Another Special Thank You to cyberblitz for helping with removing repeating code and saving everybody lots of typing!

Watch full GUI tutorial on Youtube:

https://youtu.be/2RocXKPPx4o

Read publication on Medium (without GUI):

https://medium.com/analytics-vidhya/how-to-build-a-simple-sms-spam-filter-with-python-ee777240fc

See youtube Tutorial (without GUI):

https://youtu.be/VDg8fCW8LdM

Read DearPy GUI Documentation:

https://hoffstadt.github.io/DearPyGui/index.html

Connect on LinkedIn:

https://www.linkedin.com/in/mariyasha888/

Follow on Instagram:

https://www.instagram.com/mariyasha888/

Core symbols most depended-on inside this repo

pre_process
called by 2
finishedProject/functions.py
categorize_words
called by 1
starterFiles/functions.py
pre_process
called by 1
starterFiles/functions.py
categorize_words
called by 1
finishedProject/functions.py
predict
called by 1
finishedProject/functions.py
check_spam
called by 1
finishedProject/app.py
predict
called by 0
starterFiles/functions.py

Shape

Function 7

Languages

Python100%

Modules by API surface

starterFiles/functions.py3 symbols
finishedProject/functions.py3 symbols
finishedProject/app.py1 symbols

For agents

$ claude mcp add SimpleSMSspamFilter_GUI \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page