We are using Atlas basic text search. We are trying to compare items from listA to listB and sometimes we get matches that do make sense by text search standards, but it really isn’t the same item in real world and shouldn’t match.
LIST A: SAGE
LIST B: Sage Palm, Sausage, garlic.
So the result is that sage matches Palm Sage and Sausage even though they are not the same item.
I was thinking of using synonyms and building an array of all possible permutations of each item and then comparing the whole phrase against it. For instance:
GARLIC : [GARLIC POWDER, GARLIC, GARLIC SALT]
SAGE PALM: [SAGE PALM]
SAUSAGE: [SAUSAGE, SAUSAGE LINKS, CHICKEN SAUSAGE, …]
Appreciate any feedback