filks-0.1.2
توضیحات
Generates filks based on a poem format and corpus
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | filks-0.1.2 |
| نام | filks |
| نسخه کتابخانه | 0.1.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | K.C.Saff |
| ایمیل نویسنده | kc@saff.net |
| آدرس صفحه اصلی | https://github.com/kcsaff/filks |
| آدرس اینترنتی | https://pypi.org/project/filks/ |
| مجوز | MIT |
filks
=====
Generates silly poems based off of mad-libbed, serious poems, a tagged
text corpus, and a pronunciation dictionary.
Requirements
============
1. 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.
نحوه نصب
نصب پکیج whl filks-0.1.2:
pip install filks-0.1.2.whl
نصب پکیج tar.gz filks-0.1.2:
pip install filks-0.1.2.tar.gz