Read Tim Cassedy’s superb review of OMBY on the Los Angeles Review of Books’s “Avidly” blog.
Melville, Meet Markov
We’ve been playing around with Markov text generation (again).
Here’s some generated text based on Moby-Dick, using a word-level trigram model (we call this program Drunk Melville):
Out of the herd. Though such a movement that loosed his hold for the missionary and the red flag, half-wrapping him as cool as an auxiliary material. But, besides the bedstead and centre of the bright sun’s rays like a mildewed skull. Had not the most imminent danger, as this was a little more than if he had been lost by a flood, borne back to the destruction he had ever seen. It was the sound they made a tremulous shadow cast upon his entering a boat alongside, and pushed a little as if this were otherwise, there were not enough, the whole weary thing again. Oh! my lads, DO spring – slap-jacks and quahogs for supper, you know, Rose-bud, that it’s all one, all in a most miserable plight. Too expensive and jolly, again thought I, and we felt like getting up again, captains, and let’s have that swearing. Talk to ‘em.
For comparison, here’s some generated text based on Sense and Sensibility (we’ll call this version Drunk Austen):
Surely this comparison must have involved you in the smallest wish of bringing with his family, and pressed them so cordially to dine with you about her. Ay, it is so delicate a man, with whom they were such as leaves no opening for the best; he will soon have outgrown the fancied necessity of buying a pair of scissors that lay there, and it ended too soon. My affection for herself, which she had, very early in April, and tolerably early in their faces the animating gales of a smile. “I feel no sentiment of approbation which Elinor had no such encouragement to think that three hundred and fifty pounds from the others, by any thing. Do not think it proper that Marianne should sit so composedly by, without claiming a share in that total want of thought which particularly recommended the army.
And, as our friend Bob Hearn points out, it’s mashups of multiple texts that are the most fun. So, here’s a mashup of the two:
Whale’s name to another in an even, unexhilarated voice, saying, “Dinner, Mr. Stubb,” said I, looking dubiously at the coronation procession of ships floated up to my God, His all the players. Possibly, too, Jonah might have had no hand in shipping that ivory arm (like two sword-fish blades) cried out to him, that I plainly see that. He had just quitted, where they have no taste for drawing!” replied Elinor, “I have just bethought me of it again and again; and in preparation for a few yards of Marianne, of marking his animated admiration of the eternal democracy in those black-bordered marbles which cover no ashes! What despair in those latitudes, where the monomaniac old man has to be frequented here and there are some of which almost exactly answer to a lounging circle of singed locks which grew on the part where it is – which might otherwise have entered Elinor’s head.
Craving more Markov generated text? You might also enjoy these rhyming couplets, automatically generated from the Google Books NGram data (all 1,000,000 books, not just Moby-Dick) by code I just extracted from our archives:
As if the implication is given
Of the shipowner will be driven.
Money he has participated
And that we evaluated the effects
Detailed and more especially in neurasthenic subjects.
That red hair that moved along the equally
Company asked their father or his family.
More here: Automatic Couplets.
Some OMBY trivia:
135 chapters + epilogue 11,060 pages 10,395 puzzles distribution of puzzle lengths: 4: 261 5: 319 6: 702 7: 1,838 8: 4,078 9: 1,921 10: 652 11: 328 12: 159 13: 60 14: 77 209,321 words 35,664 scrambled words (17%) 3.43 scrambled words per puzzle (avg) 1,176,358 characters 167,048 scrambled characters (14%) 16 scrambled characters per puzzle (avg) 2,432 paragraphs 7,107 periods 1,740 exclamation marks 997 question marks 18,944 commas 4,135 semicolons 1,588 em-dashes 192 colons 2 ellipses
OMBY Now Available
OMBY, the Moby-Dick unscrambling game, is now available in the iOS App Store! Here’s the solution to the first puzzle… the remaining 10,394 are up to you:
About a year ago we had a crazy idea: take the entire text of a classic book, like Herman Melville’s Moby-Dick, and break it up sentence-by-sentence into a series of scrambled word puzzles. The puzzles would be scrambled multi-row anagrams, like our previous game Unscramble It, but lifted directly from the text and clued by the context of the surrounding, unscrambled, words.
There were a lot of questions: Would we find enough puzzles to make it interesting? Would the distribution of puzzle difficulties work? How would we render the text to preserve a book-quality reading experience?
We did some experiments to answer those questions and the answers were good! Then we started developing algorithms to automatically process the text and find the best puzzles, and we worked on typesetting the result with print-quality tools, and we kept testing and tuning… and now, finally, OMBY is done and on its way to the app store.
In it’s final form, OMBY presents a series of over 10,000 puzzles that progressively reveal the entire text of Herman Melville’s Moby-Dick! OMBY is part word puzzle and part book, and completely addictive!
subscribe via RSS