scambier / obsidian-omnisearch

A search engine that "just works" for Obsidian. Supports OCR and PDF indexing.
GNU General Public License v3.0
1.23k stars 63 forks source link

[Feature request] Search for synonyms #94

Open Sanqui opened 2 years ago

Sanqui commented 2 years ago

This may be a bit of a pie-in-the-sky idea, but I wonder, if I search for e.g. shop, if it would be possible to also search for words like store and market with a very low score. This would especially be helpful when there are no results for the given search term.

scambier commented 2 years ago

It's definitely possible, there are different solutions to solve this. Those solutions all have trade-offs: a synonyms approach is easy but you need to embed an exhaustive dictionary for each supported language, the NLP approach is context-aware but will only work with words that are present in your corpus.

I'll take a deeper look when I have more free time 👍

scambier commented 1 year ago

Good news: I had more free time this evening.

Work in progress, yadda yadda. It uses OpenAI so you'll have to provide your own key :) Truly an incredible tool.

omnisearch-ai