Counting word frequencies and followed by words

Hello all togehter,

i couldn't find something on the intenret about dooing the following:

I have a Text, each word is in a separat row. I can count the frequency of each word, thats no problem.

The next thing is that I want to dertermine the most common (three or four) words following that first word and write that into a CSV or Database (i dont mind).

It would be best if the output file would look like:

 

"analyzed word"; "most followed word 1"; "most followed word 2"; "most followed word X";...

Thanks for your help in advance

 

Hi,

you might want to have a look at the Term co-occurrence counter node of the Text Processing feature. It retrieves co-occurring term pairs in documents on different levels (document, paragraph, sentence, neighbour and title).

Bye,

Tobias