Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hugovk/meow.py
50,000 Meows: Replace all words with meows, preserving punctuation. For NaNoGenMo 2014.
https://github.com/hugovk/meow.py
2014 50k meow nanogenmo python
Last synced: 25 days ago
JSON representation
50,000 Meows: Replace all words with meows, preserving punctuation. For NaNoGenMo 2014.
- Host: GitHub
- URL: https://github.com/hugovk/meow.py
- Owner: hugovk
- Created: 2014-10-31T22:06:27.000Z (about 10 years ago)
- Default Branch: main
- Last Pushed: 2023-11-30T07:32:45.000Z (12 months ago)
- Last Synced: 2024-10-08T15:42:44.220Z (about 1 month ago)
- Topics: 2014, 50k, meow, nanogenmo, python
- Language: Python
- Homepage: https://github.com/dariusk/NaNoGenMo-2014/issues/50
- Size: 12.8 MB
- Stars: 76
- Watchers: 5
- Forks: 11
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
50,000 Meows
============[![Test](https://github.com/hugovk/meow.py/actions/workflows/test.yml/badge.svg)](https://github.com/hugovk/meow.py/actions/workflows/test.yml)
[![Codecov](https://codecov.io/gh/hugovk/meow.py/branch/main/graph/badge.svg?token=7BAGzZptmW)](https://codecov.io/gh/hugovk/meow.py)
[![Code style: Black](https://img.shields.io/badge/code%20style-Black-000000.svg)](https://github.com/psf/black)An entry for [NaNoGenMo 2014](https://github.com/dariusk/NaNoGenMo-2014/):
> Spend the month of November writing code that generates a novel of 50k+ words.
The rules say:
> The "novel" is defined however you want. It could be 50,000 repetitions of the word "meow". It could literally grab a random novel from Project Gutenberg. It doesn't matter, as long as it's 50k+ words.
Well, someone had better create 50,000 meows just to get it out of the way.
But this isn't just "meow" 50,000 times. meow.py replaces all words with a meow of the same length, keeping punctuation.
Press
-----* *The Atlantic*: [*Moby Dick* in 50,000 Meows and Other Tales That Computers Tell](https://www.theatlantic.com/technology/archive/2014/12/moby-dick-in-50000-meows-and-other-tales-that-computers-tell/383340/)
* *UC Berkeley Comparative Literature Undergraduate Journal*: [Challenging the Discipline, One Code at a Time: Comparative Literature and Its Discontents](https://ucbcluj.org/2015/09/23/challenging-the-discipline-one-code-at-a-time-comparative-literature-and-its-discontents/)
* *The Guardian*: [Once upon a bot: can we teach computers to write fiction?](https://www.theguardian.com/books/2014/nov/11/can-computers-write-fiction-artificial-intelligence)
* *Vox*: [Read a version of The Jungle Book written in meows, thanks to this program](https://www.vox.com/2014/11/11/7193531/meow-cat-books)
* *dev.to*: [Who are the Audiences of Computer-Generated Novels?](https://dev.to/tra/who-are-the-audiences-of-computer-generated-novels)
* *Sabotage Reviews*: [9 Computer-Generated Novels You Should Read, or Attempt To, or At Least Look At In Wonderment](http://sabotagereviews.com/2014/12/10/9-computer-generated-novels-you-should-read-or-attempt-to-or-at-least-look-at-in-wonderment/)
* *Safari Books Online*: [NaNoGenMo 2014: A procedurally generated mysterious codex](https://www.safaribooksonline.com/blog/2014/11/08/nanogenmo2014-procedurally-generated-mysterious-codex/)
* *Nerdcore*: [50.000 MEOWS](http://www.nerdcore.de/2014/11/14/50-000-meows/)Usage
-----python meow.py infile.txt > outfile.txt
Output
------Here's the above rule put through meow.py:
> Mew "meeow" me meeooow meoooow mew meow. Me meeow me me,mew meeeeeoooow me mew meow "meow". Me meoow meeeeeoow meow m meooow meoow meow Meeooow Meeeeeoow. Me meoow'm meooow, me meow me me'm mew+ meoow.
Here's the output of running meow.py on some Project Gutenberg (Purrject Mewtenberg):
| Original | meow | words | with translation | words |
|------------------------------------------------------------------------------|:--------------------------------------------------:|:------:|:-------------------------------------------------------:|:------:|
| [*Cats*, by W. Gordon Stables](43429-0.txt?raw=true) | [txt](meow-43429-0.txt?raw=true) [pdf](meow-43429-0.pdf?raw=true) | 90,574 | [txt](meow-x2-43429-0.txt?raw=true) [pdf](meow-x2-43429-0.pdf?raw=true) | 181,149 |
| [*Cats*, by Charles H. Ross](43790-0.txt?raw=true) | [txt](meow-43790-0.txt?raw=true) [pdf](meow-43790-0.pdf?raw=true) | 59,725 | [txt](meow-x2-43790-0.txt?raw=true) [pdf](meow-x2-43790-0.pdf?raw=true) | 119,451 |
| [*The Jungle Book*, by Rudyard Kipling](jnglb10.txt?raw=true) | [txt](meow-jnglb10.txt?raw=true) [pdf](meow-jnglb10.pdf?raw=true) | 52,526 | [txt](meow-x2-jnglb10.txt?raw=true) [pdf](meow-x2-jnglb10.pdf?raw=true) | 105,052 |
| [*An Enquiry Concerning the Principles of Morals*, by David Hume](nqpmr10.txt?raw=true) | [txt](meow-nqpmr10.txt?raw=true) [pdf]( meow-nqpmr10.pdf?raw=true) | 50,603 | [txt](meow-x2-nqpmr10.txt?raw=true) [pdf](meow-x2-nqpmr10.pdf?raw=true) | 101,206 |
| [*Moby Dick; or The Whale*, by Herman Melville](pg2701.txt?raw=true) | [txt](meow-pg2701.txt?raw=true) [pdf]( meow-pg2701.pdf?raw=true) | 215,136 | [txt](meow-x2-pg2701.txt?raw=true) [pdf](meow-x2-pg2701.pdf?raw=true) | 430,272 |Extracts
--------Here's part of *Moby Dick*:
```
"MEEOW.... Me. mew Mew. MEOW. Meow meooow me meoow meow meeooooow me
meeeoow; mew me Mew. MEOOW me meeeow me meeeeow." --MEEEEOW'M MEEEEEEOOW"MEEOW.... Me me meow meeeeooooow meow mew Mew. mew Mew. MEOOOW; M.M.
MEOW-MEW, me meow, me meeoow." --MEEEOOOOOW'M MEEEEEEOOWMEOOW, MEEOW.
MEEOW, MEOOW.
MEEOW, MEEOW-MEOOW.
MEOOW, MEEEOW.
MEW, MEOOW.
MEOW, MEEEOOW.
MEEOW, MEEEEOOOW.
MEOOW, MEOOOOW.
MEEOOOW, MEOOOW.
MEOOOOW, MEEEOOW.
MEEOW-MEOW-MEOW, MEOOW.
MEEOW-MEOW-MEOW, MEEEEEOOOOW.MEEEOOOW (Meeeeoow me m Mew-Mew-Meeeeeeow).
```And here's part *The Jungle Book* with line-by-line translations:
```
He was a mongoose, rather like a little cat in his fur and his
Me mew m meeoooow, meeeow meow m meeeow mew me mew mew mew mewtail, but quite like a weasel in his head and his habits. His
meow, mew meoow meow m meeeow me mew meow mew mew meeoow. Meweyes and the end of his restless nose were pink. He could scratch
meow mew mew mew me mew meooooow meow meow meow. Me meeow meeeoowhimself anywhere he pleased with any leg, front or back, that he
meeooow meeeeeow me meeooow meow mew mew, meeow me meow, meow mechose to use. He could fluff up his tail till it looked like a
meeow me mew. Me meoow meeow me mew meow meow me meeeow meow mbottle brush, and his war cry as he scuttled through the long
meeoow meeow, mew mew mew mew me me meeeeeow meeeoow mew meowgrass was: "Rikk-tikk-tikki-tikki-tchk!"
meoow mew: "Meow-meow-meeow-meoow-meow!"
```Finally, here's [meow.py put through meow.py](meow-meow.py).
See also
--------* [50,000 Meows *rewritten in go*](https://github.com/hungnq1989/meowify)