The purpose of this repository is to provide a way for people to generate random "placeholder text" -- with a Markov Chain. https://www.craigoates.net/Software/project/12
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

8 lines
2.4 KiB

Are you the type of person who hates work? Are you someone who resents the fact you're born into a system not of your choosing? Are your teachers lazy, dismissive and not interested in your education? We're looking at you Mr.Heath... Then you need Word Generator. The app for students with a deadline.
Imagine you're at home and finishing off your English essay for Mr. Dillbank. A teacher who is always drunk and has been struggling to put a sentence together since 2014. He never used to be this way but Maureen had to leave him for Derek, the Head of Music at Barnworth High. He isn't even good looking. He looks like an orange balloon with pigeon droppings for a moustache. Who, in the history of mankind, thought that was a good look? No one! That's who! Screw you Derek! Screw you! You're fooling no one with that hair piece...
...
Sorry... I got a little side-tracked there....
Anyway, where was I...
So, you're finishing your essay and you realise your word count is lower than the expected one. Two-hundred words short, as a matter of fact. This is infuriating because you're supposed to be playing football in twenty minutes. You don't have enough time to add two-hundred words and be ready in time for football. What do you do? You open Word Generator of course. You add the extra words in a few clicks and your already off to football, with time to spare. Your mum only checks the word count these days and Mr. Dillbank hasn't seen straight for years. They think you have done your homework and you get to play football. Everyone is a winner here, apart from you in the long term but that's ok. It's not ok but it feels ok and that's what counts right now.
So, you're sold. You're in and wanting to know more. How does it work? I'm glad you asked. It uses the latest in space-age technology. Word Generator utilises the Markov Chain algorithm. When you boot Word Generator up, feed it a plain text (.txt) file and specify what Markov Value you want to use. Using that information, it spits out text that resembles the original text. This helps hide the deception.
Just in case you're wondering, the Markov Value is a number. For the app it's a number between one and ten. The higher the number the closer the generated text will resemble the original text. For example, a value of one will generate non-sense and ten will spit out like-for-like text. If you're feeling confident, I recommend you turn it up to five and see if teachers like Mr. Dillbank notices.