E
E
ediboba2020-02-26 10:35:19
Python
ediboba, 2020-02-26 10:35:19

How to recognize text in Python?

There is the following task: there is a chat bot, a proposal from the user is submitted to the input, it is necessary for the bot to recognize the topic and, depending on it, call some kind of controller to respond to the user. From which side to approach this and what to use? Written in Python. How to evaluate the incoming offer and further processing?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Antonio Solo, 2020-02-26
@ediboba

if in a simple way - you make an array of marker words, each is given a subject (s) and "weight". then the weight of each topic is calculated for the phrase
if in a complicated way - a neural network is built and trained

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question