theamrzaki / eazymind

An ai-as-a-service for abstractive text summarizaion
http://eazymind.herokuapp.com/arabic_sum
MIT License
4 stars 0 forks source link
abstractive-text-summarization ai deep-learning machine-learning nlp text-sumarization

EazyMind

EazyMind provides ai-as-a-service for abstractive text summarizaion , you simply provide your

  1. Sentence to be summarized
  2. Api key from free registeration on eazymind website

Insatllation :

  1. Regsiter a Free account on EazyMind
  2. pip install eazymind

Usage :

from eazymind.nlp.eazysum import Summarizer

#---key from eazymind website---
key = "xxxxxxxxxxxxxxxxxxxxx"

#---sentence to be summarized---
sentence = """(CNN)The White House has instructed former
    White House Counsel Don McGahn not to comply with a subpoena
    for documents from House Judiciary Chairman Jerry Nadler, 
    teeing up the latest in a series of escalating oversight 
    showdowns between the Trump administration and congressional Democrats."""

summarizer = Summarizer(key)
print(summarizer.run(sentence))