Summarize it is a chat summarizer plugin for instant messaging applications. It summarizes the large content of chat logs which enables users to quickly understand the current context of the conversation. Currently Summarize it works on top of Slack as its plugin.
We use TextRank to extract important sentences from the chat text. It tokenizes the text into sentences and builds a graph with the sentences as nodes, assigning them same scores. Sentences are then ranked by recursively; a sentence 1 points to another sentence 2 when they have similar features. A score is assigned to 2 taking in account the scores of sentences that pointed to 1. Lastly, sentences are ranked in decreasing order.
To read the story behind this hack, please see this blog post.
- Create a token for your team
https://api.slack.com/web
- Clone/fork this repository and create a file "config.py" like so:
keys = { "slack": "your-token-here" }
- Deploy the app at heroku/IBM bluemix etc.
- Visit
https://<your-team-name>.slack.com/services/new/slash-commands
- Enter the command name you wish to use
- Enter the request url as
<your-deployed-app-url>/slack
Type /your-command to initiate the plugin. The plugin will automatically summarize the above chat contents and display the summary.
Yask Srivastava, Ketan Bhatt, Pranu Sarna and Vinayak Mehta.
Having trouble with summarize it? Create an issue in the repository GitHub Repo.