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 gives the following table:
Prefix Suffix Are 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.
Easy Math Editor
This discussion board is a place to discuss our Daily Challenges and the math and science related to those challenges. Explanations are more than just a solution — they should explain the steps and thinking strategies that you used to obtain the solution. Comments should further the discussion of math and science.
When posting on Brilliant:
*italics*
or_italics_
**bold**
or__bold__
paragraph 1
paragraph 2
[example link](https://brilliant.org)
> This is a quote
\(
...\)
or\[
...\]
to ensure proper formatting.2 \times 3
2^{34}
a_{i-1}
\frac{2}{3}
\sqrt{2}
\sum_{i=1}^3
\sin \theta
\boxed{123}
Comments
Eureka! You are a genius
Log in to reply
Thanks, did you try this out?
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.
Log in to reply
actually, it is not impossible to improve upon this
Log in to reply
The generator or the Kaboobly doo?
Log in to reply
I am doing computational stuff now and blimey this seems interesting!
⌣¨
Log in to reply
Great, what computaitional stuff are you doing?
Log in to reply
Stuff to do with linguistics (parsing of languages and sentence formation), so I guess this is quite relevant!
Log in to reply
Log in to reply
Mapping goes from Fn to both Fn−1 and Fn−2, backward induction is a multiple of 9, has a smaller diameter than S?
This is a contradiction. Thus y1=y2. What is the case that for k=3 (proved in 1932) and F1=2×2k=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.
Log in to reply
What does this mean?! I guess this is machine generated kaboobly doo
Log in to reply
Right. I took the construction wiki, threw it in, and that's what I got.
Log in to reply
HA ha , amazing
heres a sentence i found
"I was slightly smarter than an apple"
Log in to reply
I am sorry, that was an original line from the source file. The blue book of bobbym quotes is 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.
"Questions of existence are for philosophers. He was just stating the number 3 has meaning to him, 10^10 does not."
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 Hitler part! Can anyone Guess what I put in that?
Log in to reply
"We own none of it and because it is not mine I have no right to destroy it. It belongs to the big fella."
"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.
Sorry, unexpected error: pop from empty list :P
Log in to reply
Read mine, it's very funny!
ha
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
Log in to reply
Nice! The valentines thing is awesome! Check mine too. ⌣¨
Log in to reply
Yeah, lol.
I am afraid, that is not what you'Re supposed to get upon dumping sonnet 17. You forgot to click the custom text radio button in the first place?
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
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
Log in to reply
How about you use sage? There is a full book on Differential Equations with sage.
Also, 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
Log in to reply
oh, in that case, i shall learn sage, thank you very much :)
What languages do you know ?
Log in to reply
none, i took biology in 12, i should have learned some CS side by side though
Log in to reply
Log in to reply
Log in to reply
Log in to reply
Log in to reply
Log in to reply
Also try learning Python , Python sort of rules over B'ant :P
And see this too .
Log in to reply
This stuff is awesome!
what's the benefit of it ? (or any use ?)
Log in to reply
Just for fun. Also check out this
Cool! I hope you won't mind me sharing your website with my friends !⌣∧∧
Log in to reply
That would be an honor, thanks!