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.
"Greetings, I believe your website may be having internet browser compatibility issues. Whenever I take a look at your site in Safari, it looks fine however, if opening in Internet Explorer, it's got some overlapping issues. I simply wanted to provide you with a quick heads up! Aside from that, wonderful site!"
2.
"A person essentially lend a hand to make critically articles I'd state. That is the first time I frequented your website page and to this point? I surprised with the analysis you made to make this particular post incredible. Fantastic activity!"
3.
"Howdy, I do believe your website could possibly be having browser compatibility problems. Whenever I take a look at your website in Safari, it looks fine however, when opening in IE, it's got some overlapping issues. I just wanted to give you a quick heads up! Besides that, excellent website!"
4.
"I have been browsing online more than 2 hours today, yet I never found any interesting article like yours. It's pretty worth enough for me. Personally, if all website owners and bloggers made good content as you did, the web will be a lot more useful than ever before."
5.
"Does your blog have a contact page? I'm having a tough time locating it but, I'd like to send you an email. I've got some suggestions for your blog you might be interested in hearing. Either way, great blog and I look forward to seeing it develop over time."

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.