Loren Cahlander
Sent from my iPhone
On May 10, 2020, at 10:13 AM, Graydon <graydonish@gmail.com> wrote:
On Sun, May 10, 2020 at 03:35:45AM -0400, Liam R. E. Quin scripsit:On Fri, 2020-05-08 at 14:52 -0400, Graydon Saunders wrote:
The idea would be to iterate through the list, marking up the node
with any matches.
Can you instead use standoff markup? E.g. store positions of start and
end as word counts, and then merge them later?
In principle, yes. But then I would have to be smart and extract thepositions correctly somehow and then get all the positional arithmeticcorrect.The attraction of the full-text index was a combination of speed andbeing able to let some other smarter person handle the "does the matchstill work if there's a line break? bunches of tabs?" issues.I now think this just isn't a full-text use case; I was trying to thinkof a way to use something optimized for single-pass search to supportrecursion on the changed content and that loses all the attractiveoptimizations. Nothing says I can't use analyze-string and recursion.Thanks!-- Graydon