KNIME approach for span queries

Hello all,

i have a question regarding queries for text mining.

is there a smart way to can trough text/documents using a version of span queries?

e.g. term1 with a distance of 5 words from term2

for term1 and term2 I would ideally want to use dictionaries to iterate over.

is there any way to do this?

sorry if this is a repeater but i’m just not aware of such an approach

Hello @And_Z -

Take a look at this workflow on the hub, which shows how you can calculate and compare distances for words of interest in your dataset. I think it will be helpful.

1 Like

Hello @ScottF

thanks for the link, it looks promising but i’ll test it first.

best

Andreas

1 Like