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.
"I have been browsing online more than three hours today, yet I never found any interesting article like yours. It's pretty worth enough for me. In my opinion, if all web owners and bloggers made good content as you did, the net will be a lot more useful than ever before."
2.
"I've been surfing online more than 3 hours today, yet I never found any interesting article like yours. It is pretty worth enough for me. In my view, if all webmasters and bloggers made good content as you did, the internet will be a lot more useful than ever before."
3.
"Heya i am for the first time here. I found this board and I find It truly useful & it helped me out much. I hope to give something back and help others like you aided me."
4.
"Hi, I do believe this is an excellent blog. I stumbledupon it ;) I may return once again since I bookmarked it. Money and freedom is the greatest way to change, may you be rich and continue to help others."
5.
"This is a topic that's close to my heart... Cheers! 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.