Built on my own
Rashomon
Which words stick to 27 Brazilian public figures.
Collects what Bluesky, Google News, GDELT, the press and both houses of Congress say about 27 Brazilian public figures, then draws the words that keep landing next to each name: how often, how surprising, from which outlet and in what tone. Every number opens to the texts behind it.
- Sources
- 10, one collector each
- Window
- the last 21 days
- Association
- PMI, computed in SQL
- Database
- PGlite locally, Postgres in production
How it's built
How it works
- Collect: each source has its own collector with the same signature, storing text, URL, outlet, date and tone.
- Extract: the text is normalized into hashtags, words and phrases. A document that names nobody tracked is dropped, not stored.
- Score: terms are counted per person and scored with PMI against every document that mentions anyone tracked.
- Serve: a Hono API, and a SvelteKit front end prerendered at build time.
Decisions and findings
- Frequency and PMI answer different questions. The map sorts by PMI times ln(1 + count), so a word seen twice cannot outrank one seen two hundred times.
- Tone comes only from GDELT. Every other source stores no tone rather than an invented one.
- Tone toward each person comes from kikori, a separate model, and the page says plainly that it carries a name prior: read it as one outlet against others on the same person, never as person against person.
- An outlet's political lean is a judgment with citations, and a missing outlet means nobody has researched it, not that it is neutral.