def getRhymes(self, word):
        word = self.cleanWord(word.lower())
        self.rhymeDBc.execute("SELECT rhymes.words FROM rhymes, words\
                               WHERE words.rhymes = rhymes.id\
                               AND words.word = ?", (word,))
        r = self.rhymeDBc.fetchone()

        if r == None:
            return None

        rhymes = r[0].split()
        random.shuffle(rhymes)
        return rhymes
Find the rhymes of word. Return them in random order.
dataset/ETHPy150Open capnrefsmmat/seuss/rhyme.py/RhymingMarkovGenerator.getRhymes