Parvezkhan0 / Media-Bias-Detection

Developed a machine learning model to detect media bias in news articles. Employed natural language processing techniques to analyze text content and classify sources into unbiased, left-leaning, or right-leaning categories. This project enhanced my expertise in text analysis and understanding of media landscape.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Newspaper-Scrape

By Parvez Khan

The official GitHub repository for the Newspaper Scrape Project, which uses advanced natural language processing techniques, sentiment analysis, and web scraping to extract summaries, metadata, and levels of polarity and subjectivity from articles on the New York Times' technology section.

Throughout my code, I have placed detailed comments explaining what each method does, its function, and some explanations on complex lines of code. Additionally, if you want to clone or use this repository for yourself, feel free to use GitHub Desktop or PyCharm to copy my code and tweak it to your liking! Once again, if you have any questions, feel free to post them in the "Issues" section of the repo and I will try my best to get back to you as soon as I can. Thanks for viewing my project, I hope this helped you out!

Dependencies

In order to run and modify this program on your personal machine, you will need to have installed the following packages.

time, random - These packages should be built-in into any version of Python 3 and above.

textblob - Package Install: pip install textblob

newspaper3k - Package Install: pip install newspaper3k

requests - Package Install: pip install requests

bs4 (BeautifulSoup) - Package Install: pip install bs4

Thanks!

Let me know of more updates you'd like to see and also if you encounter any bugs!

About

Developed a machine learning model to detect media bias in news articles. Employed natural language processing techniques to analyze text content and classify sources into unbiased, left-leaning, or right-leaning categories. This project enhanced my expertise in text analysis and understanding of media landscape.

License:GNU Affero General Public License v3.0


Languages

Language:Python 100.0%