Kanye West has apologised for his latest Twitter rant.

Kanye West

Kanye West

The 38-year-old hit out at music producer Bob Ezrin earlier today, slamming him as an "idiot" and even sympathising with his children, but the rapper has now apologised for using the "B word" in his 200-word blast.

He tweeted: "I really didn't mean to use the B word tonight ... all positive vibes (sic)"

However, it is not initially clear which word Kanye is referring to.

The star's apology could simply be a reference to him using the word "Bob" while taking aim at the Pink Floyd producer, who angered the rapper by writing a blog post saying he is nowhere near the level of Jay Z, Tupac, The Notorious B.I.G. or "even MC Hammer".

Bob also slammed Kanye's "egomaniacal tantrums" and "tasteless grandstanding" and compared him to a streaker at a sports venue in the article.

Another b-word the star could be referring to is "bro", which he calls Bob while disagreeing with the producer who claimed in his blog post that the 'Bound 2' hitmaker didn't "meaningfully and memorably address social issues" through his music like Macklemore.

A section of Kanye's rant read: "Has anybody ever heard of Bob Ezrin???

"What the f**k does he know about rap...

"I'm tired of old people that have no connection with anything trying to comment on music!

"Do something relevant... Please don't speak on me bro ever again!!!

"Your kids are ashamed of their dad... Sorry for speaking about kids... but could you imagine if you were Bob Ezrin's kids...

"I'm so sorry for them... I will send them free Yeezys to make up for the embarrassment that you have caused your family!

"Bro you said Macklemore was more important musically than me... no offense to Macklemore, he's a nice human being!

"Bob please never speak in public again... you are everything that is wrong with the old guard ...

"it's guys like you that run companies and don't invest in Ye even if I'm your kid's idol!!!

"Rock and Roll was stolen... Rap was exploited... (sic)"

He also appeared to make a dig at Taylor Swift by poking fun at someone "who has 2 albums of the year".

The 26-year-old stunner has won Album of the Year twice at the Grammy Awards, for her 2009 record 'Fearless' and her fifth studio album '1989'.