Skip to content

Latest commit

 

History

History
93 lines (73 loc) · 4.61 KB

README.md

File metadata and controls

93 lines (73 loc) · 4.61 KB

spam sms detector 📓  

In this repo i have created a SMS Spam Prediction project in machine learning using NLP, and i am using nltk Library for NLP. Deployment on Heroku app.

Motivation 🧐

  • Day by day people get a lot of sms, In those sms include are spam and helpful message. In today's runaway life we don't have enough time to recognize these sms whether it is spam or not, so i have develop a machine learning programme using kaggle dataset which will split the sms. Hope this programme are helpful for you.

How to run the project? 🤔

1). Run all command manually

  • Clone github repository in your local system git clone https://github.com/Houdini2598/sms-spam.git
  • Move in spam-sms-detector repository cd spam-sms-detector
  • Create new virtual python environment python3 -m venv venv
  • Activate virtual python environment source venv/bin/activate
  • Install all the libraries mentioned in requirements.txt using pip install -r requirements.txt
  • Run FlaskApp file python app.py
  • Go to your browser and type http://127.0.0.1:5000/ in the address bar.
  • Hurray! That's it.

2). Run Shell Script

  • Clone github repository in your local system git clone https://github.com/Houdini2598/sms-spam.git
  • Give execute permission to spam-sms-detector.sh file via chmod +x spam-sms-detector.sh
  • Run spam-sms-detector.sh file using ./spam-sms-detector.sh
  • Go to your browser and type http://127.0.0.1:5000/ in the address bar.
  • Finished...

Directory Tree 🌵

.
├── app.py
├── corpus.pkl
├── Images
│   ├── 1.png
│   ├── 2.png
│   └── 3.png
├── LICENSE
├── model_creation.py
├── nltk.txt
├── Procfile
├── README.md
├── requirements.txt
├── Spam SMS Collection
├── Spam_sms_prediction.pkl
├── static
│   ├── css
│   │   └── main.css
│   ├── icon
│   │   └── icon.ico
│   ├── js
│   │   └── global.js
│   └── vendor
│       └── jquery
│           ├── jquery.js
│           └── jquery.min.js
└── templates
    └── index.html

8 directories, 19 files

Technology used in Project ♨️

ScreenShot 📸

Connect with me! 🌐

Known on internet as *Zeeshan Khan

Email Me 📧