BBC News Dashboard - Analyzing the world in real-time, is a web-based application that provides users with up-to-date news and analysis from around the world. The dashboard gathers information from the BBC News website , and performs sentiment analysis, entity recognition, and topic modeling on the text. The results are displayed on an interactive dashboard that allows users to explore the news in different ways, such as by sentiment, topic, or entity.
1 . Clone the repository:
https://github.com/Ansem-chaieb/Streamlit-for-news-analysis.git
cd Streamlit-for-news-analysis/
pip3 install -r requirements.txt
If you want to try out the jupyter notebook for knowledge graphs, you should clone this fascinating project:
git clone https://github.com/thunlp/OpenNRE.git
2 . Run project
python3 main.py --scrape --preprocess --web_app
The command comes with 3 flags:
--scrape: Scrape https://www.bbc.co.uk/news/science-environment-56837908 for all the news links. Include link, author, date, subject, text, and images.
--preprocess: Process collected data.
--web_app: Display streamlit web page.