nltk

Help me understand where the error is in creating a bag of words

I create a bag of words manually. Here is the function to create it: def my_bag_of_words(text, words_to_index, dict_size): ... r increasing the first element of the array by 1, the function then stops working. Help the PLL understand what the error is

Get all verb forms. NLTK

You need to get all the forms of the verb. Examples: Write->writing, wrote Play->played, playing,

Visualization of the frequency characteristics of words in texts

Working on the classification of natural texts, the question arose how to visually display the frequency characteristics of t ... empt at a solution in the form of of the answer, but there was it would be interesting to look at other solutions and ideas.

Lib in python to convert PDF / EPUB to txt [closed]

closed. this question is out of scope and is not currently accepting answers. ... and pdf, so I need a lib that converts one of these formats to txt. Does anyone know if he has something the kind? Thank you