Answer the question
In order to leave comments, you need to log in
How to search for a fuzzy match in strings for objects (names) consisting of several words?
There are names consisting of several words, for example, "Spartak football team." There is a text where there could be "the Russian hockey team Spartak" and "the famous football team Zenit". It is necessary to look for exactly the match for the Spartak football team.
How can this be done as simply as possible, without parsing the original phrase - like discarding the team and looking for keywords like football + Spartak (this option is being considered, but it is still desirable to do it easier).
Preferably in Python.
There is fuzzywuzzy in python, but it very often makes mistakes on such a task and, as the most suitable option, it gives out not just that, but save not only the 1st, but, for example, 1,2,3. options and scroll through them manually for too long.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question