Problem
ZabastCom is a volunteer project that publishes news about strikes, pickets and other labor conflicts in Russia and neighboring countries. Parsers collect texts from hundreds of sources, keyword and rule filters cut the stream, and editors then read every remaining item by hand. The filters miss important strike news and also pass many off-topic items, so editors spend time on noise and some events are published only in the evening. Without a better filter, adding sources would have meant a large extra editorial effort.
Example from the article: in November 2022 every item that passed the keyword filters was still checked by an editor by hand.
Solution in brief
Replace part of the manual work with two cheap text models: a tf-idf linear classifier that decides whether an item is about a collective labor conflict, and a tf-idf cosine-similarity deduplicator. Heavy preprocessing (lemmatization, NER-based token replacement) keeps the vocabulary small enough for a linear model on weak hardware.
Questions this case answers
- How to filter a large stream of texts for a rare topic when keyword rules have both false negatives and false positives and the team has little compute
- How to remove near-duplicate texts from a stream where the same event is reported by many sources
- How to cut the manual review of a large news stream when rule-based keyword filters miss relevant items and let in off-topic ones?
- How to remove duplicate news items that several outlets publish about the same event?
Tools and methods
- tf-idf with a linear classifier — binary decision "worth an editor's look" versus "other news".
- Natasha (NER and lemmatization) — replaces names, organizations, places, numbers and dates with placeholder tokens.
- tf-idf cosine similarity — finds copies of the same news item.
- rubert-tiny2 embeddings, t-SNE, K-Means — exploratory map of conflict titles from the project API.
Google or a one-time email code. No password.