Transforms literary/philosophical texts into patent applications
Switch branches/tags
Nothing to show
Clone or download
Latest commit 3b5e510 May 18, 2014

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