Raplysaattori (Finnish) / Raplyzer (English) is a software used to detect rhymes and compute their lengths from Finnish or English rap lyrics.
Usage:
python raplyzer.py
(Computes rhyme factor for each artist under 'lyrics_en' directory. See main() in raplyzer.py for other options.)
You need to have eSpeak (http://espeak.sourceforge.net/) installed, if you want to analyze English lyrics for which phonetic transcription isn't available. For the lyrics under directory lyrics_en, the transcription has been precomputed.
Blog posts about Raplyzer:
http://mining4meaning.com/2015/02/13/raplyzer/
http://mining4meaning.com/2014/08/25/rap_algoritmi/ (in Finnish)
http://mining4meaning.com/2014/09/06/raplysaattorifi/ (in Finnish)