Hi,
I wanted to use the rhyme for German Lyrics. Therefore it would make sense to use the last 3 characters of the last word for rhyming.
What do I need to change?
I changed two functions, rhymeindex:
rhymeslistends.append(i[-3:])rhymescheme = word[-3:]
and rhyme:
rhymeslistends.append(i[-3:])rhymescheme = word[-3:]
When I train the model the file .rhymes has a list of 3 characters. When I run the script for generating the rap it is just empty.
The function score returns nan as desired_syllables and desired_rhyme are nan. Could you give me an advice what to change as well?
Thanks!
Hi, I wanted to use the rhyme for German Lyrics. Therefore it would make sense to use the last 3 characters of the last word for rhyming. What do I need to change? I changed two functions, rhymeindex:
rhymeslistends.append(i[-3:])
rhymescheme = word[-3:]
and rhyme:rhymeslistends.append(i[-3:])
rhymescheme = word[-3:]
When I train the model the file .rhymes has a list of 3 characters. When I run the script for generating the rap it is just empty. The function score returns nan as desired_syllables and desired_rhyme are nan. Could you give me an advice what to change as well? Thanks!