The search seems a bit weird. A search for salmon includes almonds in the results, and a search for spinach includes Tahitian taro.
The search seems a bit weird. A search for salmon includes almonds in the results, and a search for spinach includes Tahitian taro.
Thanks for the feedback. Currently in addition to fuzzy matching the search system will match against synonyms broadly, so some unintended leafy greens would match Spinach as in your example results. I'll have to tweak the fuzzy matching a bit.
If you really want to dig into semantic fuzzy search you can check out the wordnet project and chatscript, which provides an excellent lem , stem , and parse tool which tags each search term with its term in wordnet, so you can match against a hierarchy of concepts, including category of food. There are other solutions I’m sure but I’ve always wanted to make a local db search with this, I think it would be more structured and debuggable thank straight vector similarity
https://github.com/ChatScript/ChatScript