Giter VIP home page Giter VIP logo

prabhasapkota / article-summarizer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wmnlp-materials/article-summarizer

0.0 0.0 0.0 84.12 MB

Jupyter Notebook 0.14% PowerShell 0.01% Shell 0.01% Python 97.30% Cython 1.32% C 0.65% JavaScript 0.04% HTML 0.17% CSS 0.01% Lua 0.01% C++ 0.24% Meson 0.01% Fortran 0.03% Forth 0.01% Smarty 0.01% Batchfile 0.01% Jinja 0.02% Cuda 0.03% Roff 0.02%

article-summarizer's Introduction

Module 7 (Final Project): Article Summarizer

Author : Prabha Sapkota Pokharel GithHub Repo: https://github.com/prabhasapkota/article-summarizer

Introduction:

The project is a Python-based text analysis tool that performs sentiment analysis on articles retrieved from online sources. It utilizes natural language processing (NLP) techniques to analyze the sentiment of articles and provides insights into the emotional tone of the text.

Key Features:

  • Retrieving articles from specified URLs.
  • Parsing the HTML content of articles and extracting the main text.
  • Analyzing the sentiment of the text using both token-based and lemma-based approaches.
  • Generating histograms to visualize the distribution of sentiment scores.
  • Summarizing articles based on their sentiment scores, providing concise summaries of the main points.

Objectives:

This exercise is used to apply your web mining and NLP skills in a project of your choice. What do you wish we had covered more? Explore options - your project can focus on article summarization, using an API, doing sentiment analysis, working through an online tutorial, or gathering any text corpus and finding the most common words (ideas) used, and/or using visualization to provide useful insights.

  • Complete the tasks in the Python Notebook in this repository.
  • Make sure to add and push the pkl or text file of your scraped html (this is specified in the notebook)

Guided Project:

This is a guided version of the project, starting with this repo: https://github.com/wmnlp-materials/article-summarizer

Projects should address the following skills (using the example):

  • Q2: Polarity score printed with appropriate label
  • Q2: Number of sentences printed with appropriate label
  • Q3: Correct tokens and frequencies printed
  • Q4: Correct lemmas and frequencies printed
  • Q5: Histogram shown with appropriate labelling
  • Q6: Histogram shown with appropriate labelling
  • Q7: Cutoff seems appropriate given histograms
  • Q8: Summary printed with fewer than half the sentences
  • Q8: Summary sentences in same order as original article
  • Q9: Polarity score printed with appropriate label
  • Q9: Number of sentences printed with appropriate label
  • Q10: Summary printed with fewer than half the sentences
  • Q10: Summary sentences in same order as original article
  • Q11: Polarity score printed with appropriate label
  • Q11: Number of sentences printed with appropriate label
  • Q12: Thoughtful answer based on reported polarity scores
  • Q13: Thoughtful answer based on summaries

article-summarizer's People

Contributors

prabhasapkota avatar neloe 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.