DEV Community

Discussion on: Generating Random Cure Song Titles with Markov Chain

Collapse
 
arj profile image
arj • Edited

I was looking for Markov chains yet you just use some library. Your post title was rather misleading.

Collapse
 
cess11 profile image
PNS11

While it is just another library I found crap.l to be readable and easy to learn about basic Markov chaining from, picolisp.com/wiki/?ticker .

Implementation usually goes something like this. The math behind it is basically a frequence calculation of how common it is for each word to be followed by another, then when you build your strings you use this probability estimate to choose what words to chain to one you picked (pseudo-) randomly as a kind of seed.

(googlebot seems to have kept up the indexing the ticker since the writing of that article, today it has crawled and cached thousands of pages)

Collapse
 
raymondcamden profile image
Raymond Camden

Sorry you didn't like it - I had thought from the title that was it obvious that I was just having a bit of fun. Hopefully the link PNS11 shared will be helpful.

Collapse
 
arj profile image
arj

After reading the title, I really thought that I would learn how you used the concept of Markov chains to generate titles.

Anyway, I just wanted to give you feedback. You see title marketing/link baiting on so many websites nowadays that people got used to it. But it annoys me EVERY time because it feels like being cheated.