Giter VIP home page Giter VIP logo

summarize's Introduction

Website Summarization API

This project is carried out for the purpose of building a machine learning model for summarising a website from urls;

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

Python distribution

Anaconda

Installing

Install Anaconda python distribution on your system

Create a virtual environment called env.

python -m venv app

Activate the virtual environment

LINUX/Mac: source app/bin/activate

Windows: app\Scripts\activate

Upgrade to the latest pip

pip install --upgrade pip

Install dependencies using requirements file

pip install -r requirements.txt

Note: Your virtual environment must always be activated before running any command

Deployment

Start app (Make sure to enter a valid website to an existing website)

Example of valid commands

python app.py simple --url https://facebook.com --sentence 1 --language english
python app.py simple --url https://facebook.com 
python app.py simple --url https://korapay.com
python app.py bulk --path ./csv/valid_websites.csv

APIs

This are command options in full:

A command line utility for website Summarization.
-----------------------------------------------
These are common commands for this app.

positional arguments:
  action            This has to be 'summarize'

optional arguments:
  -h, --help            show this help message and exit
  --website PATH        website of the url to be summarised


## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE.md) file for details

## Acknowledgments

* Hat tip to anyone whose code was used
* Inspiration
* etc

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.