Skip to content

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

Notifications You must be signed in to change notification settings

DhruvSgh/SimpleSMSspamFilter_GUI

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 

Repository files navigation

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/

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%