In this project I implemented jokes generator using n-gram language model. You can interact with the model through the web interface. There you can generate new jokes, save and read them. Also you can train new generator with your own text and then use it to generate new jokes.
To train new generator go to the page Train generator
. There you can specify generator name, description and the number of previous words that it will look at to generate a new one.
The training process can take quite a long time.
On the Generate joke
page you can generate new joke. Choose one of generators, that you trained, set the maximum number of words and the begging of the joke. Then you can save generated joke or generate a new one.
Generator trained on VK posts from this and this VK groups.
Летят в самолете русский, британец и американец.
Американец руку вытаскивает, понюхал и говорит:
Америка.
— Как скажете.
— Я тебе сказал, сынок.
— Что?
Шла корова по лесу. Видит тарковский кино снимает. Снялась в кино и сгорела.