{'fraction_non_alphanumeric': 0.019883040935672516, 'fraction_numerical': 0.0, 'mean_word_length': 5.340740740740741, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Lyric-Based Rhythm Suggestion

Which comes first—the lyrics or the music? Here we consider the lyrics-first approach to songwriting and seek to augment the process by developing a creativity-support tool which uses lyrics as a creative constraint for rhythm generation. We describe a novel algorithm for suggesting possible melodic rhythms to complement the accent structure of a given set of lyrics. The algorithm is composed of three main components: a scoring function used to judge the relative success of candidate rhythms, a database of English pronunciation to determine syllable stress levels, and traditional search techniques to find highscoring rhythms in a large space of candidate rhythms. Preliminary results are encouraging: given existing song lyrics, the “correct” human-composed rhythm is generally found high in the list of suggestions.