Skip to content

Latest commit

 

History

History
28 lines (27 loc) · 768 Bytes

Readme.md

File metadata and controls

28 lines (27 loc) · 768 Bytes

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