I am trying to do the below but not successful. Will need your help
1. There is a folder location which has all the soure files of a Java application (.java files)
1. Prepare a list of all these java files and create "Document" out of all these files.
2. Simultaneously prepare a list of all Java classes being used in all these files.
3. Then try to find the frequency of these individual java classes in all the "Documents" i have found in step1.
So if a Class "Foo" is used 10 times, i need a Frequency of 10.
Step 1 and 2 are working fine. But Step 3 is not giving the correct results. I am sure i am doing something wrong here.
The "TF" node is listing all occurences of a class seperately and giving a frequnecy of 1 to eahc of them.
Attaching my workflow.
Any help/pointers will be appreiated.