Transforms literary/philosophical texts into patent applications.
Read the blog post here: http://lav.io/2014/05/transform-any-text-into-a-patent-application/
- "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
The script requires pattern. If you have pip installed, just run:
pip install pattern
To run the patent generator:
python machine.py < text.txt