/Browser-Extractive-Summarization

Select text on page using a chrome extension, then perform extractive summarization on it

Primary LanguageHTMLGNU General Public License v3.0GPL-3.0

Browser-Extractive-Summarization

Select text on page using a chrome extension, then perform extractive summarization on it.

  • This is experimental but it works. Currently using HHousen's work for the summarization model, but hadn't found the time to pick up git subtrees so I dumped it in the repo
  • Using docker, run a flask server. This flask server will host a website that will display any summarizations, and it will also host the summarization model (extractive). Currently, this docker container is expected to be run locally (although there is no such requirements).
  • Install the chrome extension using developer's mode.
  • Start the flask server using docker and open the webpage.
  • Select text and choose the option to summarize it (shortcut is ctrl+period).
  • The open webpage will show the summarized text as it communicates with the flask server using websockets.
  • There is no underlying database, so refreshing / closing the webpage will erase results.

Resources

  1. Flask + REST + websocket template
  2. Summarization model
  3. Asyncio example, but flask+socketio doesn't work with asyncio

Other references

Issues