Answer the question
In order to leave comments, you need to log in
How to organize "intelligent search" by key in the MySql database?
Good day. I can not cope with the solution of the following problem.
I use a bunch of Asterisk + Google TTS to get a string for an audio request.
There is a MySQL database - a telephone directory, where the fields are located: Surname - Phone number. Example:
Shorin - 1444
Ganin - 1777
So Google IVR often gives the wrong string, for example, instead of Shorin - Shurin. Instead of Ganin - Kanin. Instead of Yurashev - Yuldashev. How do I run a selective database query to eliminate the Google recognition error and select the most similar record from the table?
Answer the question
In order to leave comments, you need to log in
It can be implemented separately on a trigram search, the article is on Habré
habrahabr.ru/post/78566
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question