Recently I came across a collection of comments online that were are evidently part of a comment generation script. Fascinated by this, I wrote some code to select the random words / phrases and piece them together into their intended stupid sentences.

As an example of how this works, have a look at the following line:

Woah! I’m really (loving\enjoying\digging) the theme of this (site\website\blog).

By running a script that randomly selects a word from each set of brackets and then replaces each set of brackets and their content with their respectively selected word, nine different (though similar) sentences can be produced from the single line. The combinations are shown below:

Woah! I’m really loving the theme of this site.
Woah! I’m really loving the theme of this website.
Woah! I’m really loving the theme of this blog.

Woah! I’m really enjoying the theme of this site.
Woah! I’m really enjoying the theme of this website.
Woah! I’m really enjoying the theme of this blog.

Woah! I’m really digging the theme of this site.
Woah! I’m really digging the theme of this website.
Woah! I’m really digging the theme of this blog.

Obviously, the more word options and brace sets per line, the more combinations that can be produced. The posts below are randomly generated from lines in this way:

1.
"Its such as you read my thoughts! You appear to understand a lot approximately this,like you wrote the e book in it or something. I feel that you just could do with a few p.c. to drive the message home a bit, but other than that, this is excellent blog. A great read. I'll definitely be back."
2.
"I need to to thank you for this good read!! I certainly enjoyed every bit of it. I have got you book-marked to look at new things you post?"
3.
"I always spent my half an hour to read this website's posts daily along with a cup of coffee."
4.
"I am sure this paragraph has touched all the internet people, its really really good article on building up new blog."
5.
"I absolutely love your website.. Very nice colors & theme. Did you develop this website yourself? Please reply back as I'm trying to create my very own blog and would love to find out where you got this from or exactly what the theme is called. Kudos!"

This is not intended as a how-to guide on how to be a spammer, but rather to inform on the sneaky way the comments are generated.

Note that all the comments are positive and complimentary / congratulatory with the hope of the recipient believing they are hand-typed, feeling flattered and allowing the comments to appear on their blog. Usually they are posted with a back-link to the spammer’s website which is the whole purpose.