Language generators

I am in the middle of novel revisions, so naturally I am updating my language generators. I get kind of obsessed with them.

Random language generator
I wrote this page to generate random sentences using JavaScript and JSON libraries. It retrieves JSON data words using an AJAX call and then generates language using pre-defined rules.

Lorem ipsem language generator
This demo generates lorem ipsem text up to as many paragraphs as you specify. Use it for your web design projects. It is created using Markov chains applied to a very long sample of pre-existing lorem ipsem.

Markov chain language generator
In a Markov chain model, the probability of each item (in this case a word) is based on the state of the previous item. A Markov chain language generator can generate real-sounding text given a source document by predicting which word will follow next after each word. Sample documents here include Alice in Wonderland, Ulysses, my very own vampire novel, the King James Bible, a Latin Bible, a few other texts, and user input where you can enter your own text.

Procrastination

My form of procrastination is a random language generator.

It makes little paragraphs like this:

  • None of the nude cheese lets everything speak of her tryout. Some fiercely stunning pauses speak of her. She says, medium-size. He replies, collecting operatives. They say, mad.
  • I yearn for an oval, parental, and crimson layer. Azure housemothers can gladly take her overcast border. She says, corned. He replies, confusing those heretics. They say, confused.
  • They grin at something. Those customers have these discerning outlooks. She says, blorpy. He replies, rubbing the stuff. They say, nervous.

I wrote it in JavaScript:

https://ankiewicz.com/technology/random-language-generator/

Feel free to use those sentences in your own writing projects.

I am a little obsessed with it. I strive to make it better and better. I want the output to be as natural-sounding as possible. It is satisfying when it spits out realistic-sounding sentences. It’s extremely satisfying when the grammar is correct. I spent hours getting the plurals of the nouns to match the verbs. I spent forever deciding whether or not a sentence needs an adjective, an adverb, or a prepositional phrase.

It will never produce a novel. If I spend half as much energy on my novel as I do on this thing, I’d be done by now. Yet, I am fascinated by the process of creating machine-generated sentences. I am drawn to it. Occasionally, from an unexpected and surprising turn of phrase, I get inspiration.

I find myself getting lost in sites like this, imagining how I would emulate such rules in my own language generator: http://www.gingersoftware.com/content/grammar-rules/adjectives/order-of-adjectives/

What’s your form of procrastination?

Words

I made a random language generator using JSON, JavaScript, and HTML. If only such a toy could write a novel for me, I’d be set.

The recreational furnace checks the operational equator between a hapless fiver. The unmoved brick. Protecting. The broken pumper battles the loud workshirt, says inherent, sincerely. I reply, fatuous. An unique moth admits the cumulative curfew amongst the sinuous solo.

An unconvincing tambourine books a stupid offensive. A fetal masque. Suspending. The boring broom buzzs the attributable squash, says hollow, jealously. I reply, normal. A capitalistic sounding attracts the skilled prodigality.