It is necessary to calculate the weight of the word in the text. To do this, find the weight of the word in the text and compare it with the weight of the word in a large amount of text. Here's where to get this big set of text on the near-game theme, I can not imagine. Perhaps by API or something like that ...

  • one
    Take a book of fantasy. - Drakonoved

1 answer 1

NLTK library for python and Russian language corpus solved the problem

  • one
    try to write more detailed answers (just that it seems obvious to you clearly write out, with the simplest example of code) - jfs