Do you know basic Python and looking for an easy project to practice your skills?
You’re just a beginner and not ready to deal with neural networks yet?
This tutorial is perfect for you!

Here, we’ll create a spam filter using natural language processing techniques, list comprehensions, “for” loops, “if” statements and a bit of Pandas & nltk.
I’ll walk you through the processes and trails of thought step by step and give you some tips and examples of how to create projects from scratch.
In the end of the video, we’ll test an SMS of your choice to see how well our filter works. I hope you guys will find this video helpful! Good luck! :)

  • Correction to the code at 10:05 *
    remove_punct = “”.join([char for char in lowercase if char not in punctuation])
    where “lowercase” should have been called instead of “sms”

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

Google Colab Notebook - Complete Code:
https://github.com/MariyaSha/SimpleSmsSpamFilter/blob/master/SimpleSmsSpamFilter.ipynb

Jupyter Notebook - Complete Code:
https://github.com/MariyaSha/SimpleSmsSpamFilter/blob/master/SimpleSMSSpamFilter_JupyterNotebook.ipynb

#python #programming #web-development #machine-learning

How to Build a Simple SMS Spam Filter with Python - Step by Step Tutorial
2.70 GEEK