Twitter-Demographer: A Flow-based Tool to Enrich Twitter Data

Federico Bianchi, Vincenzo Cutrona, Dirk Hovy
1/26/2022
cs.CL

Official code: MilaNLProc/twitter-demographer (75 stars, Python, MIT, last commit 2023-06-01).

Abstract

Twitter data have become essential to Natural Language Processing (NLP) and social science research, driving various scientific discoveries in recent years. However, the textual data alone are often not enough to conduct studies: especially social scientists need more variables to perform their analysis and control for various factors.

Show full abstract

How we augment this information, such as users' location, age, or tweet sentiment, has ramifications for anonymity and reproducibility, and requires dedicated effort. This paper describes Twitter-Demographer, a simple, flow-based tool to enrich Twitter data with additional information about tweets and users. Twitter-Demographer is aimed at NLP practitioners and (computational) social scientists who want to enrich their datasets with aggregated information, facilitating reproducibility, and providing algorithmic privacy-by-design measures for pseudo-anonymity. We discuss our design choices, inspired by the flow-based programming paradigm, to use black-box components that can easily be chained together and extended. We also analyze the ethical issues related to the use of this tool, and the built-in measures to facilitate pseudo-anonymity.

View on arXivView PDF

Code Implementations(1)

MIT

A python package to enrich Twitter Data

7511Python, MakefileDec 16, 20213 years agoMIT

Similar Papers

Cite this paper

@article{bianchi2022twitterdemographer,
  title  = {Twitter-Demographer: A Flow-based Tool to Enrich Twitter Data},
  author = {Federico Bianchi and Vincenzo Cutrona and Dirk Hovy},
  year   = {2022},
  eprint = {2201.10986},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2201.10986}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2201.10986.svg)](https://codeofpaper.com/paper/2201.10986)

Discussion