Here is my Kaboobly Doo generator: kabooblydoo.appspot.com

Run properly, it should be able to generate grammatical sentences without any coherent meaning.

To demonstrate the power of the same, I showcase some great sentences it generated:

Harsh words are like programmed instructions, given to us when we are young and beautiful.

Preconceived notions are like sharp knives, once you throw them at somebody they can not teach you computer science or hardly anything else.

Every man should be far better neighbors and that an indissoluble law might be more conspicuous to all that took place, said, "On my word, you are doing!"

You are invited to try it out, and yes, Fork me on GitHub!

If you are interested in how this works, have a look at this and read on.

If you have seen my experiment with the iOS predictive keyboard, then it should convince you that this method is indeed a good way to generate convincing but Kaboobly Doo sentences.

Some usages of such an algorithm could be generate pronounceable strings, mimic spam to steganographically conceal data, or generating papers for conferences whose standards are, you suspect, too low.

Techniques involved include formal grammars and markov chains. We will discuss the later in this note.

For those who do not know, markov chains are a list of states equipped with their transition probabilities.

From the given data, we generate a list of prefixes (which are our states) and a list of words that could have followed them. The more a word follows the prefix in the real data, the higher the chance of the transition to the inclusion of the word into the next state.

Suppose we are given the following data:

`Are modern calculus books Kaboobly Doo?`

Feeding in the data into the chain generator with prefix length \(2\) gives the following table:

PrefixSuffixAre Are modern Are modern calculus modern calculus books calculus books Kaboobly books Kaboobly Doo? Kaboobly Doo? Over here, there is only one possible state to which a particular state could transit. However, if we had much larger data, there could be more than two possible suffixes for the same prefix, in which case we could transit to any one of them at random determined the probability of their occurrence rates in the original text.

Once we generate the chain, we randomly choose an initial state and print the corresponding word and then transit to the next state by deleting the first word in the current state and appending a random word as explained above. We do this till we hit the word limit or run out of states.

## Comments

Sort by:

TopNewestEureka! You are a genius – Aditya Chauhan · 2 years, 1 month ago

Log in to reply

– Agnishom Chattopadhyay · 2 years, 1 month ago

Thanks, did you try this out?Log in to reply

It is just as I expected. Kaboobly doo is a human creation, it can not be mimicked by a mere machine. It requires emotion, divine inspiration and the human heart to produce real Kaboobly doo. All I can add to this is a quote from Lord Vader, "Don't be to be too proud of the random statements generated here, the power to generate nonsense is insignificant next to the power of human Kaboobly doo." There, let that be a lesson to all. – Bobbym None · 1 year, 4 months ago

Log in to reply

– Agnishom Chattopadhyay · 1 year, 4 months ago

actually, it is not impossible to improve upon thisLog in to reply

– Bobbym None · 1 year, 4 months ago

The generator or the Kaboobly doo?Log in to reply

– Agnishom Chattopadhyay · 1 year, 4 months ago

I am sorry, I meant: It is possible to improve upon thisLog in to reply

false. The earth is larger and more massive than any bar of soap, transparent or not. I did not invent Experimental Mathematics. I am always brilliant! Eureka! I am not Jesus. When a guy is driving around aimlessly listening to awful sounds ( music? ) then he pulls up in front of my car? Col Erich Von Hitler: Do you feel bad about the fact that 6/3/2014 is gone? One thing at a digital computer. I worked on the internet. Do not seek a brazillian plastic surgeon, join a forum and tell everyone you are keeping active. Since I retired I feel like I have an Uncle Joe. When I was almost asphyxiated. All this while playing basketball, chess, stickball, football and fighting everyday. Mommym used to walk 2 miles to shop for food and at the time and he would use judo on me ( he is grown so great? I say he is an illussion Happy Valentines Day. Did you wish your Valentine a Happy day? The next did? seek and ye shall find If you cannot say something nice, do not belong to me. Unfortunately, many guys refused to comply and they ended up stealing most of – Karthik Venkata · 2 years ago

Log in to reply

Can you please try it again?

This randomizer works on statistical probability distributions of word pairs (or n-tuples) and I do not think the sonnet is large enough to produce some interesting results. – Agnishom Chattopadhyay · 2 years ago

Log in to reply

– Sravanth Chebrolu · 2 years ago

Nice! The valentines thing is awesome! Check mine too. \(\huge\ddot\smile\)Log in to reply

– Karthik Venkata · 2 years ago

Yeah, lol.Log in to reply

Sorry, unexpected error: pop from empty list :P – Nihar Mahajan · 2 years, 1 month ago

Log in to reply

– Steve Chen · 2 years, 1 month ago

haLog in to reply

– Sravanth Chebrolu · 2 years, 1 month ago

Read mine, it's very funny!Log in to reply

wished there were more gay men... That would not worry about such things. No one will see that you have done to make up the BSoD, you know it man. There are the same way that yesterday came and went so will they.

Do you all know the reason why yous will never succeed bahhhhbbbbyemm? bobbym: No why? Col Erich Von Hitler: Do you all know you are old and ugly, or even if you just think you are young and beautiful. Pick a great talent. The greatly talented assume that they are advertising beer, cars, awful music, girls or gyrating...

When the water is clear and perfectly still you can immediately apply it to your will. I suggest you delete the whole neighborhood. When I accidentally generated chlorine while fiddling with chemistry, I was attracted to counting and the geniuses assume divinity. He is a complete idiot."

He is a young person in his teens or younger: They will say,"Wow, how do you see why I do not answer them. Like or dislike are western concepts. I think February 14 is an illussion. We are being watched. M and m are the same thing. Keep annoying me and you'll

This is what I got! It's really funny, especially the

Hitlerpart! Can anyoneGuesswhat I put in that? – Sravanth Chebrolu · 2 years, 1 month agoLog in to reply

"Hahhahahhahahhahahahahha! Wolfram alpha is kaboobly doo! Alpha is a tool. It does not replace your brain! It supplements your brain. Now c'mon and do what Alpha could not. Friends come and go. You will make many more. But in the same way that yesterday came and went so will they."

"No one will see that you have grey hair on the circumference of an ellipse and came up with my own solution. I worked my own solution. I worked my own solution. I worked my own solution."

"Your human brain will not solve all problems. It is not a quadratic equation."

This is what I got. – Brown Fox · 2 years, 1 month ago

Log in to reply

"Questions of existence are for philosophers. He was just stating the number 3 has meaning to him, 10^10 does not." – Harsh Shrivastava · 2 years, 1 month ago

Log in to reply

HA ha , amazing

heres a sentence i found

"I was slightly smarter than an apple" – Mvs Saketh · 2 years, 1 month ago

Log in to reply

The blue book of bobbym quotesis the shortest book out there and when you use it to produce sentences, there is a possibility that a few quotes will be returned as is. – Agnishom Chattopadhyay · 2 years, 1 month agoLog in to reply

Mapping goes from \(F_n\) to both \( F_{n-1} \) and \(F_{n-2} \), backward induction is a multiple of 9, has a smaller diameter than \(S\)?

This is a contradiction. Thus \( y_1 = y_2 \). What is the case that for \( k = 3 \) (proved in 1932) and \( F_1 = 2 \times 2^k = 2 \). Do we know where it goes? Not really, it could go into any set, in particular \(A\). If it does not contain the element \(n\), then it cannot contain the element \(n\), then it cannot contain the element \(n \). – Calvin Lin Staff · 2 years, 1 month ago

Log in to reply

– Agnishom Chattopadhyay · 2 years, 1 month ago

What does this mean?! I guess this is machine generated kaboobly dooLog in to reply

– Calvin Lin Staff · 2 years, 1 month ago

Right. I took the construction wiki, threw it in, and that's what I got.Log in to reply

– Agnishom Chattopadhyay · 2 years, 1 month ago

In that case, this is pretty impressive! :)Log in to reply

I am doing computational stuff now and blimey this seems interesting!

\(\ddot\smile\) – Krishna Ar · 2 years, 1 month ago

Log in to reply

– Agnishom Chattopadhyay · 2 years, 1 month ago

Great, what computaitional stuff are you doing?Log in to reply

– Krishna Ar · 2 years, 1 month ago

Stuff to do with linguistics (parsing of languages and sentence formation), so I guess this is quite relevant!Log in to reply

– Agnishom Chattopadhyay · 2 years, 1 month ago

It is. Linguistics is quiet fascinating (except I hardly know anything about it)Log in to reply

– Krishna Ar · 2 years, 1 month ago

Other than the theory, its just CSLog in to reply

what's the benefit of it ? (or any use ?) – Brilliant Member · 7 months, 3 weeks ago

Log in to reply

this – Agnishom Chattopadhyay · 7 months, 3 weeks ago

Just for fun. Also check outLog in to reply

This stuff is awesome! – Raven Herd · 2 years ago

Log in to reply

@Agnishom Chattopadhyay

can you please tell me which CS language or programme helps to solve math problems numerically (such as solving an unsolvable differential equation numerically)

or getting a reasonable approximation for fourier series , etc

i heard that mathematica can be used but i never really understood where we can get it – Mvs Saketh · 2 years, 1 month ago

Log in to reply

– Azhaghu Roopesh M · 2 years, 1 month ago

What languages do you know ?Log in to reply

– Mvs Saketh · 2 years, 1 month ago

none, i took biology in 12, i should have learned some CS side by side thoughLog in to reply

– Azhaghu Roopesh M · 2 years, 1 month ago

What?! You were a Bio student ? So were you a PCMB student or just a PCB student ?Log in to reply

– Mvs Saketh · 2 years, 1 month ago

obviously PCMB :)Log in to reply

Also try learning Python , Python sort of rules over B'ant :P

And see this too . – Azhaghu Roopesh M · 2 years, 1 month ago

Log in to reply

– Mvs Saketh · 2 years, 1 month ago

thanks, i will learn it tooLog in to reply

Ihave taken in school? – Agnishom Chattopadhyay · 2 years, 1 month agoLog in to reply

– Mvs Saketh · 2 years, 1 month ago

no, i like much of bio, so i am glad i took it, but i also wanted to know some CSLog in to reply

– Agnishom Chattopadhyay · 2 years, 1 month ago

I took bio in Class XII too, but that never let me down with CS :)Log in to reply

– Mvs Saketh · 2 years, 1 month ago

that is a very good thing, no problem, i will learn it nowLog in to reply

sage? There is a full book on Differential Equations with sage.

How about you useAlso, there is nothing wrong with programming up the algorithms on your own. That should be a good exercise and should help understand them better.

Mathematica is not available for free (unless obtained illegally) because it is proprietary software.

@Mvs Saketh – Agnishom Chattopadhyay · 2 years, 1 month ago

Log in to reply

– Mvs Saketh · 2 years, 1 month ago

oh, in that case, i shall learn sage, thank you very much :)Log in to reply

Cool! I hope you won't mind me sharing your website with my friends !\(\stackrel{{\Large\wedge\,\wedge}}{{\Large\smile}}\) – Azhaghu Roopesh M · 2 years, 1 month ago

Log in to reply

– Agnishom Chattopadhyay · 2 years, 1 month ago

That would be an honor, thanks!Log in to reply