Generates filks based on a poem format and corpus
Project description
filks
Generates silly poems based off of mad-libbed, serious poems, a tagged text corpus, and a pronunciation dictionary.
Requirements
Python 3.3+
Installation
To install:
pip install filks filk install
The filk install step is not strictly necessary if you plan to use strictly a library and corpus you already have installed; however in most cases this will be most convenient. This step downloads the nltk library texts to your machine.
Usage
To generate a terrible poem:
filk format
See filk format -h for options.
Development
To build the dev environment:
make venv . venv/bin/activate python main.py
LICENSING
All original source code in this repo, including all *.py and configuration files, is released under the MIT license included.
However, this library relies on corpuses from nltk which may have a variety of free-ish licenses.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file filks-0.1.2.tar.gz
.
File metadata
- Download URL: filks-0.1.2.tar.gz
- Upload date:
- Size: 9.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d8688f2e8e2000e36c10a285804bad1eb639a3bfcd265867b67bfa54080ed5d9 |
|
MD5 | 389a76511825778666c09d1e79f71e1f |
|
BLAKE2b-256 | e8d63ea70742a09e090a37a7456cb2e0bf2123ebaac06cc2ad2ad205f7f21b34 |