Tell me, what tools are there for fuzzy and morphological search in PHP? Interested in documentation, libraries, examples of use. Russian language support is required.
Closed due to the fact that off-topic participants aleksandr barakin , cheops , Viktorov , morin , Eugene Krivenja 12 Dec '17 at 14:42 .
- Most likely, this question does not correspond to the subject of Stack Overflow in Russian, according to the rules described in the certificate .
- fourThis question should be closed, because questions about where to find programs, libraries, textbooks on programming and administration are not worth asking - aleksandr barakin
|
2 answers
As far as I know, there is phpMorphy, which partially solves the problem of morphological search in php. Fuzzy search is a uniquely complex task that can be solved only by a huge dictionary, a super-powerful server (and preferably a few) and a very smart algorithm. And there is hardly a library that will solve this problem, I would be the first to get on the waiting list for it. :) Yandex and Google have been doing this for years.
- Yes, I also look towards phpMorphy and pspell. In my case, the task is not superglobal. It is necessary to organize a fuzzy search (in the simplest form) according to some previously known nomenclature in the catalog. - morin
- Then let's define what you mean by fuzzy search in your case. - Retrill
- Queries like "low", searching by root of the word, etc. ... - morin
- In your case, the problem can be solved only by compiling predetermined erroneous words and correspondences with the correct ones. Otherwise, a general super-complex problem is obtained. It is not solved by simply connecting the miracle library. Requires very large production capacity. - Retrill
- Using phpMorphy or Mystem from Yandex, bring the catalog to a normal form, before searching, bring the key to normal form as well. - flax
|
sphinx, elasticsearch?
|