I have set of documents. I want to know the frequency count of each word in each document (i.e) term frequency using java program. thanks in advance. I know how to find the
You can split your documents on spaces and punctuation, go through the resulting array and then count frequency for each word (a Map would really help you with this).
Resources :
Java - faster data structure to count word frequency?