S
S
seweb2014-01-26 14:05:58
Algorithms
seweb, 2014-01-26 14:05:58

What are the algorithms for compiling poetry?

An interesting topic, are there any special algorithms for analyzing and compiling poems?
For example, Yandex made compilation from requests - blog.yandex.ru/post/73398

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2014-01-26
@begemot_sun

You need to look at Markov chains, of course not AI, and you won’t be able to make sense, but at least something without fish :)
The bottom line. For example, you want to imitate Shakespeare.
You process texts and collect statistics in which cases after which word other words came or with what probability this third word comes after 2 given words.
That. having collected such statistics, you (theoretically) using Markov chains can generate "similar" poems (of course, for the great and powerful, you will need to coordinate tenses / cases / numbers, etc.)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question