Filtering Fake News using Python has never been easier

Image for post
Image for post
Image from Python.rs
nltk
beautifulsoup4
selenium>=2.44.0,<3.0.0
requests
unidecode
vcrpy
future
fake-useragent
newspaper3k
sklearn
git+https://github.com/abenassi/Google-Search-API
pip install -r requirements.txt
pip3 install -r requirements.txt
Remove unnecessary noise function
Normalization Function
Sentence Tokenization and Stemming function
Image for post
Image for post
Euclidian Distance K-Nearest Neighbour Algorithm from KissPNG
Find similar articles function

Loves to share his thoughts and opinions on the internet.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store