Git Product home page Git Product logo

extractive-summarizer's Introduction

extractive-summarizer

Extractive-Summarizer using LexRank.

Setup

  1. Import the repository folder into Pycharm

  2. Download CNN datasets into project directory

    Dataset

Usage

  1. Train summarizer Use training-summarizer.py on the training dataset - This application calculates the inverse document frequencies (idf) of every word in the training dataset.

    usage: training-summarizer [-h] TRAINING_DIRECTORY OUTPUT_FILE

  2. Summarize test file Use test-summarizer.py on test dataset - This application summarizes a given article using previously calculated inverse document frequencies (idf).

    usage: test-summarizer [-h] IDF_FILE ORIGINAL_FILE

    note: delete .summary files if recreating summaries

  3. Evaluator Use test-evaluator.py on summarized files - This application evaluates our LexRank summarizer using the sentence labels provided in the dataset.

    usage: test-evaluator [-h] SUMMARIES_DIRECTORY

Dev Guide

  1. Pull/Sync master for latest code

  2. Create new feature branch from master

  3. Code out the feature on the new feature branch, test locally

  4. When finished, pull/sync master again

  5. Update feature branch from master, resolve conflicts

  6. Merge feature branch into master locally

  7. Push/Sync master

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.