Answer the question
In order to leave comments, you need to log in
How to compare strings in SQL without taking into account stop words?
There is a list of stop words that do not need to be taken into account when comparing sentences, for example:
'концерт'
'группа'
'группы'
'альбом'
'альбома'
'песни'
'презентация'
'Группа ZebraHead'
'Песни группы ZebraHead'
'ZebraHead'
'Концерт группы ZebraHead'
'ZebraHead. Презентация альбома'
Answer the question
In order to leave comments, you need to log in
Maybe it's easier to search for a common ZebraHead?
If the text is not long (headings only):
- create a table with the words and their corresponding id.
- throw out stop words from there by crossing tables.
- make substitutions of errors, transliterations, variations.
- group by words.
Or use the experience of search linguistic analyzers article to help you: https://habrahabr.ru/post/114997/
but it will not be fast.
PS But I think we need to slightly change the architecture.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question