★ TouchArcade needs your help. Click here to support us on Patreon.

Markov Chain

09-22-2010, 05:05 AM
#1
Joined: Mar 2009
Location: Singapore
Posts: 1,770
Send a message via AIM to kohjingyu
Markov Chain

Has anyone used a Markov Chain successfully using Objective-C?

I can't find a decent article on it, everything seems to be about math. I need something related to programming (Programming language won't matter)

Thanks
09-22-2010, 10:06 AM
#2
Joined: Dec 2008
Posts: 336
I've never implemented one, what practical application does it give?
09-23-2010, 05:39 AM
#3
Joined: Mar 2009
Location: Singapore
Posts: 1,770
Send a message via AIM to kohjingyu
Quote:
Originally Posted by Phi6 View Post
I've never implemented one, what practical application does it give?
Basically, it intelligently picks a word, or other variable to match the previous one (or any other variable you choose)

It's used by spam bots to create paragraphs which seem like they're real, which sometimes is real enough to pass through our spam filter, but mostly it looks kinda weird.

It's semi random, and probably relies on arrays matching words together (i.e. indicating they're similar)

I thought it'll be interesting to learn it, but I can't find any programming info on it. The only article I found was a math one.
09-23-2010, 07:45 AM
#4
Joined: Mar 2009
Location: Canada
Posts: 1,077
Have a look at the source for this guys project: mctext

😈