Skip to content
Polish poetry generator with markovify.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
static
templates
.Rhistory
LICENSE
Readme.md
app.py
generate_poems.py
markov_model.json
poems.txt
requirements.txt

Readme.md

adam

adam is a polish poetry generator that uses Markov Chains. Markov chains were generated using polish poems scraped from web (250000 lines of text). This corpus is stored in poems.txt. You can try adam here. See also twitter bot.

Installation

In terminal.

git clone https://github.com/bziarkowski/adam.git
cd adam

Install Python requirements.

pip install -r requirements.txt

Now it should be ready to use.

Generate poems

To generate poems run:

python generate_poems.py

Run app

To start adam app:

python app.py

After this operation the app will be available on port 5000. Simply open your browser and type localhost:5000

You can’t perform that action at this time.