This Jupyter notebook contains a simple app for summarizing speeches or text documents. The app utilizes natural language processing techniques to generate concise summaries of longer texts.
-
Clone the repository:
git clone https://github.com/kamlocicho/speech-summarizing.git
-
Navigate into the project directory:
cd speech-summarizing
-
Open the Jupyter notebook
summarizing-speeches.ipynb
orsummarizing-gensim.ipynb
to access and run the code.
-
Ensure you have the speech text file or the text you want to summarize.
-
Open one of the Jupyter notebooks.
-
Follow the instructions provided in the notebook to execute the code cells.
-
Feel free to switch url variable with URL to your favorite speech!
-
The notebook will then generate a summary of the speech using natural language processing techniques.
The app uses techniques such as:
The speech text undergoes preprocessing steps such as tokenization, removing stop words, and punctuation.
Sentences in the speech are scored based on their importance using algorithms such as TF-IDF (Term Frequency-Inverse Document Frequency) or TextRank.
The sentences with the highest scores are selected to form the summary, ensuring that important points from the speech are included.