Re: [basex-talk] Grouping words in phrasal matches with full-text indexes

2020-04-25 Thread Graydon
On Sat, Apr 25, 2020 at 06:02:14PM -0400, Liam R. E. Quin scripsit: > On Sat, 2020-04-25 at 13:46 -0400, Graydon Saunders wrote: > > I think I have figured out a way to connect the adjacent marked > > words in the phrasal term into a single mark element. I cannot > > convince myself that this is

Re: [basex-talk] Grouping words in phrasal matches with full-text indexes

2020-04-25 Thread Liam R. E. Quin
On Sat, 2020-04-25 at 13:46 -0400, Graydon Saunders wrote: > > I think I have figured out a way to connect the adjacent marked words > in > the phrasal term into a single mark element. I cannot convince myself > that > this is the right way; is there a better approach than tumbling > windows? I

[basex-talk] Grouping words in phrasal matches with full-text indexes

2020-04-25 Thread Graydon Saunders
Hello -- So my overall goal is to take a bunch of XML, mark all the (generally phrasal) terms of art, take that modified content and mark all the (possibly phrasal) glossary terms, and then go through and remove all the glossary markers that happen to be inside terms of art and then remove all

Re: [basex-talk] Unconfirmed bug: NPE using cached transformer

2020-04-25 Thread Bridger Dyson-Smith
Hi Andrew and list, I ran into a similar error with 9.3.3-beta this last week but haven't had a chance to work up a SSCCE. Your report makes me think I need to do so! Best, Bridger On Sat, Apr 25, 2020, 11:19 AM Andrew Sales wrote: > Hello, > > I'd like to run a transform on multiple

[basex-talk] Unconfirmed bug: NPE using cached transformer

2020-04-25 Thread Andrew Sales
Hello, I'd like to run a transform on multiple documents using a cached transformer, accumulating any errors that occur. This minimal example - for $doc in (,, ) return try{ xslt:transform( $doc, http://www.w3.org/1999/XSL/Transform; version='2.0'> , map{}, map{'cache':'true'} )