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.
"It's appropriate time to make some plans for the longer term and it's time to be happy. I have learn this submit and if I may I desire to recommend you some attention-grabbing issues or tips."
2.
"I'm really impressed with your writing skills and also with the layout on your blog. Is this a paid theme or did you customize it yourself? Either way keep up the excellent quality writing, it is rare to see a nice blog like this one today."
3.
"Hi, i think that i saw you visited my web site thus i came to "return the favor".I'm trying to find things to improve my website!I suppose its ok to use a few of your ideas!"
4.
"I am curious to find out what blog platform you have been using? I'm having some minor security issues with my latest website and I'd like to find something more safeguarded. Do you have any recommendations?"
5.
"This is a topic that's near to my heart... Take care! Exactly where are your contact details though?"

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.