Transforms literary/philosophical texts into patent applications
Python
Latest commit 3b5e510 May 17, 2014 @antiboredom merging

README.md

Patent Generator

Transforms literary/philosophical texts into patent applications.

Read the blog post here: http://lav.io/2014/05/transform-any-text-into-a-patent-application/

Repository Contents

  • "machine.py" generates patents
  • "search.py" searches texts for parts of speech and hypernym combinations (among other things)
  • "get_illustrations.py" scrapes Bing for patent illustrations
  • "scraper.py" downloads the full text of patent applications based on keywords

Dependencies

The script requires pattern. If you have pip installed, just run:

pip install pattern

Using it

To run the patent generator:

python machine.py < text.txt