The article studies the issue of identification of literary texts with artificial neural networks. We showed that artificial neural networks for solving the problem of classifying literary texts makes it possible to obtain a true result for determining the category of a text with a probability of 95%. However, determining the genre of a literary text is more difficult and in the worst case it is possible only with a probability of 75%.