Project Description: This is a simple NLTK-based Python script that will allow the user to enter a URL for a news article in a GUI created by Tkinter. Using Natural Language Processing, the article is then analyzed to provide insight into its sentiment, polarity, and more. It uses the Newspaper library as a web scraping tool in order to quickly read the article.
List of used libraries: Tkinter NLTK textblob newspaper
To run the project:
-
download the main.py file and open it in the code editor of your choice.
-
Check python and pip installations.
-
Install the necessary libraries through the terminal into the appropriate directory using the following links: https://docs.python.org/3/library/tkinter.html
https://www.nltk.org/install.html
https://textblob.readthedocs.io/en/dev/install.html
https://newspaper.readthedocs.io/en/stable/user_guide/install.html
-
After imports have been resolved, run the program, and the GUI interface will open. If there are issues with import resolution, make sure that the interpreter is set correctly.
Final Notes: Feel free to ask any questions or recommend any changes! Special thanks to the creators of each of the aforementioned libraries for making this program possible.