Git Product home page Git Product logo

whitebeard10 / text-summarizer-with-wsd Goto Github PK

View Code? Open in Web Editor NEW
7.0 2.0 1.0 6 KB

This project is a text summarization system that leverages word sense disambiguation and pre-trained T5 models. It identifies and summarizes repeating words with different meanings, using spaCy for NLP and an n-gram model for candidate word selection. It compares summaries using Rouge scores and outputs the best one. Written in Python with Flask.

Python 58.23% HTML 41.77%
flask-application hmtl named-entity-recognition ner nlp pos-tagging python summarization word-sense-disambiguation wsd

text-summarizer-with-wsd's Introduction

Text-Summarizer-with-WSD

This project is a text summarization system with Word Sense Disambiguation (WSD) implemented using Python and various NLP libraries. The system takes a paragraph of text as input and performs Part-of-Speech tagging and Named Entity Recognition using the spaCy library. It then identifies repeating words with different POS tagging and creates a list of potential target words for WSD. The system generates summaries for each target word using the T5 transformer model from Hugging Face, and compares the results using the Rouge evaluation metric. The system also uses an n-gram model to predict the most appropriate word for each target word, based on the context. The output is the summary with the highest Rouge score.

The system is implemented as a Flask web application . The application allows users to input a paragraph of text and get a summary with the best Rouge score. The project includes a detailed README.txt file with instructions on how to run the application, a requirements.txt file with all the dependencies, and a license file. The code is well-documented and follows best practices for Python development.

text-summarizer-with-wsd's People

Contributors

whitebeard10 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

prashamanp

text-summarizer-with-wsd's Issues

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.