News for hackers. Stuff that matters.
Re:Show HN: Nutrepedia – nutrition info in 29 locales built ... by Finnucane on Wednesday June 03, 2026 @02:32PM (#48387878)
The search seems a bit weird. A search for salmon includes almonds in the results, and a search for spinach includes Tahitian taro.
Re:Show HN: Nutrepedia – nutrition info in 29 locales built ... by llovan on Wednesday June 03, 2026 @02:36PM (#48387939)
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.
Re:Show HN: Nutrepedia – nutrition info in 29 locales built ... by jazzyjackson on Thursday June 04, 2026 @01:29AM (#48394369)
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