Skip to content

cdap-39/summarize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

summarize

Summarize model for makes summary from news articles

spacy-summary

A work-in-progress test summarizer that uses spacy.io.

Usage

To get started, install the dependencies:

# Using virtualenv
virtualenv .env
source .env/bin/activate

# Install python libraries
pip install -r requirements.txt
python -m spacy download en
python --version = 2.7

The program takes the text file to summarize and the number of sentences to include in the summary:

Reads and summarizes document.txt in 3 sentences

python main.py

Steps for execute the program

#navigate to root folder using conda terminal cd spacy-summary #if the current python version 2.7 in conda terminal, then ignore this step conda activate py27 #start the python server using flask and waiting for POST request python main.py

About

Summarize model for makes summary from news articles

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages