Hi Graydon,

Could you add some exemplary input and the output you’d be expecting?

Thanks in advance
Christian




Graydon Saunders <graydonish@gmail.com> schrieb am Do., 12. Nov. 2020, 00:00:
Hello --

Is there some way to assign the abstraction of a fuzzy match to a variable, so that something like

for $x in //p
  let $key := get-fuzzy-match-value($x)
  group by $key
  return <similar-paragraphs>{$x}</similar-paragraphs>

would be possible?

I'm supposing this is one of those things that's either easy or impossible.

Thanks!
Graydon