Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

Secret Wishes

a birthday hack :)

what's this?

Code that scans literature for secret "happy birthday" wishes. 😉

why?

Because today is my birthday 🎂 , and I felt like coding something connected to that.

how does it work?

Note: For this to work you need to have python's nltk package (install like so), as well as the associated Gutenberg corpus, that you can obtain running nltk.download() in a python shell. Then select the Gutenberg corpus from the avaialble corpora.

If those requirements are met you can proceed to download and run hidden_wishes.py. This creates a couple of HTML pages containing the novels' edited text with the strings happy and birthday highlighted. There is also a count of the occurances of each string right at the top of the document. Have fun!

PS.: parents send most wishes!

About

a birthday hack :)

Resources

Releases

No releases published

Packages

No packages published