On Tue, 2021-06-01 at 12:21 +0200, Christian Grün wrote:
> Hi Liam,
>
> I have added ft:thesaurus,
You really are beyond the awesome.
Thank you so much! I hope to have a chance to experiment kater this
month, but if there's a gap i'll look much sooner.
Liam
--
Liam Quin,
Hi Liam,
I have added ft:thesaurus, and I have revised our documentation [1,2].
I think that the new function may contribute to a more sophisticated
search code written in XQuery.
The implementation is still subject to change; I’m looking forward to
your feedback.
Christian
[1]
On Mon, 2021-05-31 at 15:05 +0200, Christian Grün wrote:
>
> let $thes := ...
> let $term := 'happy'
> let $relation := 'RT'
> let $levels := 1 to 10
> let $terms := ft:thesaurus($thes, $term, $relation, $levels)
> return 'lucky' contains text { $terms }
>
> Do you think that could
Hi Liam,
I spent some more time with the XQFT thesaurus specification, and I
decided it would be too invasive to make the thesaurus input fully
dynamic. There are simply too many rules and optimizations that depend
on a static source.
It would certainly be easier to define a new helper function
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
Hi Liam,
That would certainly be possible. The major challenge will be to make
it effiicent. Most of the XQFT arguments have been designed to be
static, and if we allow something like…
$text contains text { $term } using thesaurus $node
…the value of $node might change with every iteration.
What would be involved in extending BaseX's full text to allow a
thesaurus to be supplied as a node instead of a URI?
I want to construct one on the fly, and using file:write() seems
excessive.
Liam
--
Liam Quin, https://www.delightfulcomputing.com/
Available for XML/Document/Information
7 matches
Mail list logo