Dear all,
I tried to count the frequency of specific words. For example, I determine a main word as "Flannery" and I would like to count the frequency of "banking" and "institutions" within 10 words from "Flannery" in the document.
The sample document is below.
ex) Writing various empirical banking papers concerning about financial institutions, Flannery needs to contact representatives of the institutions
Here is a question.
For a word "institutions" that is located prior to Flannery, the result does not count it if I put "institution" instead of "institutions" in my command. On the other hand, a word "institutions" that is located on after Flannery is counted even if I use "institution" as a command.
Could you please give me some advice to solve this problem?
I hope you have a great day. Thank you very much!
Sean