A
A
andron582014-03-10 14:51:55
Google
andron58, 2014-03-10 14:51:55

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

3 answer(s)
S
Sergey, 2014-03-10
Protko @Fesor

Use sphinx, elastic search, etc.

P
Puma Thailand, 2014-03-10
@opium

It can be implemented separately on a trigram search, the article is on Habré
habrahabr.ru/post/78566

E
Eugene, 2014-03-10
@Nc_Soft

look towards phonetic search

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question