Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/liam-middlebrook/pawprints-adlibs
https://github.com/liam-middlebrook/pawprints-adlibs
Last synced: 17 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/liam-middlebrook/pawprints-adlibs
- Owner: liam-middlebrook
- License: gpl-3.0
- Created: 2014-11-12T20:54:36.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2014-11-13T22:29:58.000Z (about 10 years ago)
- Last Synced: 2023-08-04T22:11:47.470Z (over 1 year ago)
- Language: Python
- Size: 272 KB
- Stars: 1
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
pawprints-adlibs
==================If you haven't visited http://pawprints.rit.edu/ you should go take a look at it's list of petitions right now. A lot of the petitions on the website are very serious and have a purpose behind them. On the other hand there are petitions that are less serious (or may appear to be).
This script pulls down the petitions from the website and then gives the user several queries to choose words to replace words that were written into the descriptions of the petitions.
## Installing Prerequisites
You need to install TextBlob and NumPy. With Pip we can do this very simply.
```
$ pip install numpy
$ pip install -U textblob
$ python -m textblob.download_corpora
```### simplejson (optional)
#### On GNU/Linux:
1. Open up a terminal and run the following command
```
$ sudo easy_install simplejson
```#### On Windows:
1. Download the simplejson tarball from here: https://pypi.python.org/pypi/simplejson/
2. Extract the tarball
3. Open up a command shell in the directory you extracted the tarball into
4. Run the following command `python setup.py install`## Using
This script takes no parameters, just simply `./adlibs.py` to execute it!