S
S
Sergey2017-12-10 00:00:28
PHP
Sergey, 2017-12-10 00:00:28

What PHP AI libraries exist for writing text (based on other texts)?

In general, there are "letter" -> "answer" pairs.
It is planned that these couples will go to AI training.
Actually, this is some kind of ready-made AI solution that would be suitable for "writing" an answer to an incoming letter, i.e. to compose a text using the example of existing letters.
Is there something ready? Or in what direction to move in this case?
Neural networks?
English text.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Pozharsky, 2017-12-10
@alex4321

I think first we should decide what kind of task we will solve:
- if we need to extract the entities mentioned by the user, process them and substitute them in a template response (perhaps one of many) - this seems to be a task for NER (named entity recognition)
- if the task is reduced to choosing one of a finite set of classes - this is the task, in fact, of classification (perhaps not solved quite "on the forehead" - but still classification)
- if the task is not reduced to the two above - then what kind of task is this?
ps I wouldn't count on php. In any case, the prototype will probably be easier to throw in python with its wagons and carts of libraries for NLP and ML.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question