Giter VIP home page Giter VIP logo

adichat / senpai Goto Github PK

View Code? Open in Web Editor NEW
47.0 7.0 12.0 31 KB

:dash:Making communication📞easier and faster🚅for all 👦 + 👧 + 👴 + 👶 + 🐮 + 🐦 + 🐱

Home Page: https://pypi.python.org/pypi/readless

License: MIT License

Python 100.00% PHP 0.01%
text-summarization python pypi conversation cluster-rank block-score text-rank texttiling segmentation vocabulary-introduction module

senpai's Introduction

ReadLess 📖

A python module for conversation📞 and text 📚 summarization and much more exciting features.

Find this module on PyPI💨 here

###💪_Features_ provided by this module:

  • Text Segmentation using:
    • TextTiling with Block Score
    • TextTiling with Vocabulary introduction
  • Conversational summarization using:
    • Cluster Rank
  • Text summarization using :
    • TextRank
    • Random

Installation 🏭

Make sure you have Python 2.7+ and pip(Windows, Linux) installed. Simply, run:

$ [sudo] pip install readless

Or for the latest version in development:

$ [sudo] pip install git+git://github.com/adichat/read-less.git

ReadLess API 📚 🗽

You can use readless like a library in your project.

For quickly summarizing a conversation using ClusterRank algorithm:

# -*- coding: utf8 -*-

from readless.Summarization import clusterrank
summarizer = clusterrank.ClusterRank()
pathToFile = "C:/conversation.in"
summary = summarizer.summarizeFile(pathToFile)

For segmenting a text using TextTiling algorithm:

# -*- coding: utf8 -*-

from readless.Segmentation import texttiling
segmentation = texttiling.TextTiling()
pathToFile = "C:/conversation.in"
segmentedText = segmentation.segmentFile(pathToFile)

For a detailed list of other API functionalities, see ReadLess Documentation.

Contributions 📂

All contributions are welcomed. This module is in development and there are several scopes of improvement. Tests are to be implemented along with other Summarization algorithms with support for web page summarization. For upcoming features, see Future developments.

👮 LICENSE

senpai's People

Contributors

adichat avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

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.