Skip to content

speaker_cues.py: timestamped YouTube links for manual speaker identification#18

Merged
hollygrimm merged 1 commit into
mainfrom
speaker-cues
Jul 18, 2026
Merged

speaker_cues.py: timestamped YouTube links for manual speaker identification#18
hollygrimm merged 1 commit into
mainfrom
speaker-cues

Conversation

@hollygrimm

Copy link
Copy Markdown
Collaborator

Small helper for the speaker-naming loop (follow-up to #17).

python scripts/speaker_cues.py                     # list items with unmapped speakers
python scripts/speaker_cues.py --item TextbookGroup/Namjoshi2026/Cohort_1/Session_024

For each SPEAKER_NN in an item's transcript.json: first appearance, longest utterance (the reliable moment to identify someone — first appearances are often one-word interjections), total talk time, and &t=Ns YouTube links that jump straight to those timestamps. The longest-utterance snippet is printed so you can match what you hear against what the label said.

Workflow: run cues → click links, note names → record parts[].speakers in metadata.json → apply_speaker_names.py --item <item> --apply.

🤖 Generated with Claude Code

https://claude.ai/code/session_01UoVcFP7bBu92mK6RqM5nPG

For each SPEAKER_NN in an item's transcript.json, print first
appearance, longest utterance (timestamp + snippet), and total talk
time, each with a YouTube &t=Ns link that jumps straight to the
moment. No-arg mode lists all items with unmapped speakers. Feeds
the parts[].speakers -> apply_speaker_names.py --apply loop.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UoVcFP7bBu92mK6RqM5nPG
@hollygrimm
hollygrimm merged commit d31003e into main Jul 18, 2026
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant