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.
"Hi there just wanted to give you a quick heads up. The words in your content seem to be running off the screen in Safari. I'm not sure if this is a format issue or something to do with browser compatibility but I thought I'd post to let you know. The layout look great though! Hope you get the issue fixed soon. Thanks"
2.
"Somebody necessarily help to make severely posts I might state. That is the first time I frequented your website page and to this point? I amazed with the analysis you made to make this particular put up incredible. Great task!"
3.
"Way cool! Some extremely valid points! I appreciate you writing this write-up plus the rest of the website is really good."
4.
"Someone necessarily help to make critically posts I might state. That is the first time I frequented your web page and up to now? I surprised with the analysis you made to create this actual publish extraordinary. Wonderful task!"
5.
"Hi there, simply become alert to your blog via Google, and located that it is truly informative. I am going to be careful for brussels. I'll appreciate should you continue this in future. Lots of folks can be benefited out of your writing. Cheers!"

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.