Skip to main content This is the website for an older EuroPython. Looking for the latest EuroPython? Click here!
EuroPython logo

NLP Application in Cases of Violence Against Women

Track:
PyData: Research & Applications
Type:
Talk
Level:
intermediate
Room:
Terrace 2A
Start:
11:55 on 11 July 2024
Duration:
30 minutes

Abstract

Domestic violence is a widespread problem, one which demands attention and policy fixes. But available data is largely unstructured, making analysis difficult for both researchers and policy makers. In this talk, I’ll show you how Python helped me to retrieve, structure, and classify violence victims’ testimony. I’ll show which APIs and libraries allowed me to retrieve the woman’s testimony from YouTube, turn their speech into text, and then analyze the text itself. You’ll come away knowing not just some new Python techniques, but also how those techniques can be used to improve our society. Outline: -Introduction (1m)

  • How to collect data from YouTube? (5m) o reason for collecting data using YouTube o keywords to find videos o YouTube API
  • How to transcribe audio to text? (5m) o Whisper API o how long it took o accuracy
  • Semantic analysis of testimony (10m) o BERTopic o Analysis of relevant words
  • How useful it is for analyzing unstructured data (10m)
  • Conclusion (2m)

Recording

Play