~/talk

Solving Crimes with Python Using Natural Language Processing (NLP)

TalkinSpanishat PyCon US 2023 · 2023-04-19..04-27· [python, security]
slides:none on file

A Python-based workflow that classifies WhatsApp messages for crime-related signals: messages are extracted with the huasteca library into DataFrames, preprocessed, vectorized with TF‑IDF, and classified using SVM and Naive Bayes (around 60–62% according to the confusion matrix). The talk compares that pipeline to fine‑tuning a RoBERTa transformer on the EXIST labeled tweets dataset (achieving about 73%), performs message‑level classification then aggregates positives per chat, and highlights reviewing metrics and legal considerations before using results as evidence.

AI-written summary · about

  1. 0:00Start
  2. 1:38Digital Evidence
  3. 2:17Procedure Stages
  4. 9:09Automatic Analysis of a WhatsApp Message Chain
  5. 10:02How Can We Automatically Analyze This Message Chain?
  6. 10:58Supervised Learning
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.