What is the name of a text analysis method where one builds a network of sentences that are connected when they contain words that occur on a predefined reference list of words?
So, lets say I have a predefined list of the following words: "tree","forest","wood". Then I have a random text that I want to compare to my predefined list to build a network. Let's say this random text has the following sentences: "He was climbing trees", "She was in the forest". Both sentences contain words that match the predefined list. In the network, these two sentences should be represented by two nodes. As the sentences share words from the reference list, the nodes should be connected.
I'm really new to text analysis and have no idea how this approach is called. Any help would be appreciated.