Skip to content
/ lolol Public

Replace every "lo" in Project Gutenberg with a "lol". For NaNoGenMo 2014.

Notifications You must be signed in to change notification settings

hugovk/lolol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lolol

or

ol the lols

or

The Big Jolly Book of Humorous Observations

In the Project Gutenberg CD corpus of 600 books, find every English sentence containing the word lo – but also include the next sentence because the parser sometimes breaks things like "lo! and behold" into two.

Then replace each lo with lol.

gutengrep.py -i "\blo\b" "*.txt" --cache --sort --correct -o /tmp/lolol.txt --andnext --language en
lolol.py lolol-sort.txt  > lolol.md
multimarkdown lolol.md > lolol.html && lolol.html

Uses gutengrep.py.

Then print to PDF using Chrome. Big thanks to @moonmilk for the CSS.

An entry for NaNoGemMo 2014.

About

Replace every "lo" in Project Gutenberg with a "lol". For NaNoGenMo 2014.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published