GithubHelp home page GithubHelp logo

r2nery / ukraine-media Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 0.0 1.31 GB

Can we identify key events in a war by analyzing raw text from news stories?

License: MIT License

Jupyter Notebook 93.68% Python 6.32%
information-retrieval kullback-leibler-divergence latent-dirichlet-allocation lda nlp nlp-machine-learning russo-ukrainian-war thesis-paper ukraine-invasion

ukraine-media's Introduction

Monitoring the Russo-Ukrainian War Through Media

About

This repository is a reproduction package for Resonant Journalism in the Russo-Ukrainian War: A Topic Modeling Approach to Key-Point Detection, the thesis for my BSc in Economics (Universidade de Brasília - Brazil)

This study sheds light on the potential of unstructured data for the detection of major happenings in global events. We detect key points of the Russo-Ukrainian War using topic modeling on a newly curated, large-scale dataset of news stories and investigate whether the differences in topic distributions can highlight unique trendsetting potentials in reporting across major news outlets.

Data

All.parquet is a dataframe featuring 61.165 news stories from 11 different international news sources regarding Russia and Ukraine, from july 2021 to december 2022. The columns included are: Date, URL, Title, Text. The same dataset can be found in the processed data directory All_n10.parquet, but with the measures of Novelty, Resonance and Transience added (time scale = 10), as well as the Topic detected using LDA.

LDA sheds light on major events throughout the corpus:

Persistent Homology helps us find peak dates:

Kullback-Leibler Divergence allows us to probe for a bias towards innovation in reporting:

In this repo:

Working scrapers for 11 news outlets:

  • ABC, AP, CBS, CNN, DailyMail, Express, Fox, Guardian, Mirror, NY Times, Reuters

Topic Analysis

  • (Barron et al. 2018) Implementation of latent Dirichlet allocation (LDA)
  • KLD-Based measures of Novelty, Resonance and Transience

Plotting notebooks

ukraine-media's People

Contributors

r2nery avatar

Stargazers

 avatar  avatar

Watchers

 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.