An advanced extractive text summarization model using NLP techniques.
- Extracts key sentences from text
- Scores sentences using TF-IDF, sentence length, position, and named entities
- Clusters sentences via K-means to highlight critical points from thematic groups
- Install dependencies:
pip install nltk spacy scikit-learn python -m spacy download en_core_web_sm
- Run
summarizer.py. - The script will print a summary of the sample text.
- Python 3.x
- nltk
- spacy
- scikit-learn
MIT