日前,芬兰阿尔托大学的研究人员开发出了一条能够分析并掌握rap的机器学习算法。据悉,研究人员在开发这套算法的过程中总共使用了来自100名rap歌手的1万多首歌。这套算法叫做DeepBeat,为了让它拥有自己写歌词的能力,研究人员对其进行了rap歌词分析训练。首先,算法需要对特定的rap歌词进行分析,然后再从研究人员给它的随机歌词库中挑选出适合做下一句的歌词,最终的准确率为82%。
另外,这套算法还能从数据库中挑选出一些歌词然后将它们生成一首全新的歌曲。下面为DeepBeat创作的一首歌:
For a chance at romance I would love to enhance
But everything I love has turned to a tedious task
One day we gonna have to leave our love in the past
I love my fans but no one ever puts a grasp
I love you momma I love my momma – I love you momma
And I would love to have a thing like you on my team you take care
I love it when it’s sunny Sonny girl you could be my Cher
I’m in a love affair I can’t share it ain’t fair
Haha I’m just playin’ ladies you know I love you.
I know my love is true and I know you love me too
Girl I’m down for whatever cause my love is true
This one goes to my man old dirty one love we be swigging brew
My brother I love you Be encouraged man And just know
When you done let me know cause my love make you be like WHOA
If I can’t do it for the love then do it I won’t
All I know is I love you too much to walk away though