v1shal/News_Summarisation_and_Sentiment_Analysis
1
NewsSummarisationSentiment_Analysis
This is a web-based application that extracts key details from multiple news articles related to a given company, performs sentiment analysis, conducts a comparative analysis, and generates a text-to-speech (TTS) output in Hindi.
Features
- Company-specific news extraction
- Advanced text summarization using Pegasus model
- Sentiment analysis with Hugging Face Model
- Topic extraction using LDA
- Comparative sentiment analysis
- Text-to-speech conversion in Hindi
- User-friendly Streamlit interface
Project Structure
Installation
- Create a virtual environment:
python -m venv myenv
# Windows
myenv\Scripts\activate- Install dependencies:
pip install -r requirements.txt- Run the application
streamlit run app.py- Usage
##Enter a company name and click "Analyze" to get:
-->News articles
-->Summaries
-->Sentiment analysis
-->Topic distribution
-->Comparative analysis
-->Audio output in Hindi
##Technical Details
-->Frontend: Streamlit
-->NLP Models:
-->Pegasus for summarization
-->FinBERT for sentiment analysis
-->LDA for topic modeling
-->Audio Processing: GTTS for text-to-speech
-->Backend: FastAPI
##Requirements
-->Python 3.8+
-->CUDA (optional for GPU acceleration)
-->Internet connection for model downloads
##License
-->MIT License
##Acknowledgments
-->Hugging Face for NLP models
-->Streamlit for web interface
-->NLTK for text processing
