The topic of fake news detection on social media has recently attracted tremendous attention. The basic countermeasure of comparing websites against a list of labeled fake news sources is inflexible, and so a machine learning approach is desirable. Our project aims to use Natural Language Processing to detect fake news directly, based on the text content of news articles.
- True.csv: True collected news from various articles, sources.
- Fake.csv: Fake collected news from various articles, sources.
-
Clone the repo to your local machine-
> https://github.com/Sudhanshu21xx/Fake-News-Detection-NLP.git
> cd Fake-news-Detection
-
Make sure you have all the dependencies installed-
- python 3.6+
- numpy
- tensorflow
- pandas
- sklearn
- nltk
- For nltk, run these commands in your notebook --
>>> import nltk
>>> nltk.download()
}
- For nltk, run these commands in your notebook --