Songsim
Visualize a song's lyrics with a similarity matrix
Install / Use
/learn @gsimchoni/SongsimREADME
This package holds a single function to calculate and visualize a "songsim" similarity matrix where cell (i, j) is filled if word i in a song's lyrics is the same as word j. This method was first suggested by Colin Morris (see links below).
Install:
devtools::install_github("gsimchoni/songsim")
Load:
library(songsim)
Visualize Beyonce's Formation:
path <- system.file("extdata", "formation.txt", package = "songsim")
songsim(path)

Use colorfulMode:
songsim(path, colorfulMode = TRUE, mainTitle = "Formation - Beyonce")

Use interactiveMode if you have the heatmaply package installed:
songsim(path, interactiveMode = TRUE, singleColor = "blue")
(See live version here)
More information and examples here.
More information from Colin Morris:
Related Skills
node-connect
337.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
83.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
337.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
83.1kCommit, push, and open a PR
