I have build a graph based on Term Neighborhoods and its calculating my edges each way which is correct. One form source to target and one from target to source. However the network shows them as multiple vs stronger one, what can I do to change that?
This is because your list of edges is duplicated and needs filtering before creating the relational graph. I have just posted a solution on how to filter doublets in this other thread
Yes indeed, it is quite easy
The trick here is to filter out pairs of “doublets” based on Alphabetic order. Since they are all duplicated, one of the two pairs is in alphabetical inverse order and hence, you can filter out the one that is alphabetically “bigger”, for instance:
11364 34 (is removed)
34 11364 (but this one is kept)
Then you need to make sure that only one instance of “self-pairs”, for instance 34 34 is kept too, because normally there should be two. T…
Maybe it could help you too. Otherwise, please let us know
I’m transfering here your answer from the other thread
In that solution neither, they are strings and a " > " comparison works fine with strings here.
Please let us know here if you need any further help
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.