On Thu, 2021-05-27 at 14:35 +0200, Christian Grün wrote:
Hi Liam,
That would certainly be possible. The major challenge will be to make it effiicent.
Thank you for replying!
It might be that i can solve my need differently - i want to implement a Google-search-like syntax for a Web site - "very tall (boy|youth|young man) wearing (green|lemon)" (where "..." indicates a phrase search)
One way might be to create the multiplicative expansion of every combination and search for those, maybe only in text containing "very tall" and "wearing" where constant strings are supplied.
I had thought another way might be to create a thesaurus making boy, youth, young man, be synonyms, and apply that to the search, but then found i needed to write out a thesaurus file for every such query.