G
G
gofree2020-06-14 21:53:45
PHP
gofree, 2020-06-14 21:53:45

How to automatically select a category by the title of the text?

Hello, I saw on one site, when adding an ad for the sale of spare parts, entering the title of the product, its category is automatically selected, how is this implemented? When you enter one word, then I understand that you are looking for matches and display a category, but when there are several words in the title?
Is there some kind of dictionary, according to which each word from the title is run and the category is found by coincidence? So what?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dimonchik, 2020-06-14
@dimonchik2013

machine learning
there are a number of ways - from bag words / k-means to all sorts of Bayes

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question