NewsBite

Machine-learning algorithm reads rap lyrics, writes it own rap

MOVE over Eminem, there is a new rapper around. A machine-learning algorithm that can produce a pretty fresh verse based on famous rap lyrics.

There’s a new hip-hop king in town
There’s a new hip-hop king in town

HOW many dudes you know roll like this? How many dudes you know flow like this?

Not many, but there is a machine-learning algorithm that can produce a pretty fresh verse.

Researchers at the University of Aalto in Finland recently created an artificial intelligence program, named DeepBeat, which can write its own rap songs.

The program works by analysing thousands of hip hop songs from more than 100 popular rappers.

By using the rhyming patterns and style from these tracks, the algorithm was able to create a flow of its own.

While it didn’t actually write anything from scratch, the algorithm was able to source words from the database and create lyrics that matched in style and topic.

Lead researcher Eric Malmi said the program was so effective that it outperformed some of the best rappers in the business.

“DeepBeat outperforms the top human rappers by 21% in terms of length and frequency of the rhymes in the produced lyrics,” he said

To prove the skills of his algorithm, Malmi included the lyrics to one of the songs in his research paper.

Have a look and tell us what you think in the comments or on Twitter @newscomauHQ

“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”

Add your comment to this story

To join the conversation, please Don't have an account? Register

Join the conversation, you are commenting as Logout

Original URL: https://www.news.com.au/technology/innovation/design/machinelearning-algorithm-reads-rap-lyrics-writes-it-own-rap/news-story/da3c0817e38bdfa82f342561e3a0462c