Skip to content

An nlp based app to create short summaries of long text based on the importance of the sentences.

Notifications You must be signed in to change notification settings

himanjalsaha/extractive-summarizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Extractive summarizer

A simple nlp based app to generate short summaries of long texts based on their importace

Link

https://extractive-summarizer-h9du.onrender.com/

Installation

Install spacy

  pip install spacy

Install Textrank

  pip install pytextrank

Install Flask

  pip install Flask

Install pipeline pakage "en_core_web_sm"

  python -m spacy download en_core_web_sm

Tech Stack

Client: HTML CSS

Server: Flask

SETUP

ADD NLP WITH SPACY

  nlp=spacy.load("en_core_web_sm")

ADD A PIPELINE TO SUPPLY TEXTS USING TEXTRANK

 nlp.add_pipe('textrank')

USE SPACEY PIPELINE WITH TEXTRANK

doc=nlp(example text)

Iterate through each word and create summary using generator object:

for i in doc._.textrank.summary():
  print(i)

LESSONS

Learnt about nlp models and their working

Documentation

Screenshots of the application

App Screenshot

App Screenshot

About

An nlp based app to create short summaries of long text based on the importance of the sentences.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published