S
S
spamNedge2020-06-10 17:42:21
Python
spamNedge, 2020-06-10 17:42:21

What are the ways to do simple text parsing in python?

Good afternoon.

The task is for the program to receive various types of text as input, bring it into a form convenient for analysis, determine the degree of how well the text fits and return it if the text contains a sufficient number of them (or the number of their derivatives) by the presence of keywords. ).

I wanted to figure it out on my own, since the task seems simple, however, the search gives out very complex tools, mainly related to working with databases, for example, using neural networks, which are worth learning a little more. What libraries, algorithms are more expedient to apply in this case? What is worth understanding?

Thank you very much in advance.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
M
milssky, 2020-06-10
@milssky

pymorphy2 comes to mind

R
Roman Mirilaczvili, 2020-06-10
@2ord

NLTK supports Snowball stemmers, including Russian.

U
Umpiro, 2020-06-11
@Umpiro

TextBlob is good.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question