KNIME approach for span queries

#1

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

0 Likes

#2

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

#3

Hello @ScottF

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

best

Andreas

1 Like