A Clojure library for performing rhyme analysis on poems
Add the following dependency to your project.clj
[rhyme-finder "0.1.0-SNAPSHOT"]
To start playing with the various rhyme analyzing functions you can
(:require [rhyme-finder.core :refer :all])
Note: This library is super pre-alpha and still being developed so some of the function signatures may change without notice
First you need the poem or song in the correct format
(format-as-poem some-text) ;; converts any string to the correct poem format
(get-poem filename) ;; pulls text from any textual file on your system and converts it to the correct poem format
Return the rhyme scheme of a poem:
(rhyme-scheme poem)
Return the found rhyme-combinations in a poem:
(rhyme-combos (rhyme-streams poem 2 15 2))
Copyright © 2014 yedi
Distributed under the Eclipse Public License, the same as Clojure.