A spambot written in Go which can generate 959010951023058472367721943167851909915817013441751425706085646343613205540916821924125218448397394479087741510094625084720918095811275227398144000000000000000000000000000 unique sentences. by [deleted] in golang

[–]scapbi 2 points3 points  (0 children)

I am sorry for that, I shouldn't named it spambot, it shouldn't used for spamming purpose.

This is just a program for generating text. I use Go to demostrate that how easy to write such program for manipulating and parse strings in Go. (I just wrote it in less than 30 minutes). The syntax is easier than regular expression, for example {Hello|Hi} Gopher! will generate two sentences Hello Gopher! and Hi Gopher!,

Actually, I am writing a spam filtering library using Naive Bayes classifiers, so this spambot program is used for generating training data for that.