need to count the frequency of each terms inside a document

Posted by Wai Loon II on Stack Overflow See other posts from Stack Overflow or by Wai Loon II
Published on 2011-03-14T15:54:53Z Indexed on 2011/03/14 16:10 UTC
Read the original article Hit count: 241

Filed under:
|

hi, i need to calculate the frequency of all the terms inside a document. How can i do that ? i do not ask for codes. I am just asking for guidance. Actually i am doing some similarity calculation between a document and query. I have calculated the term frequency for the query. But i do not know how to calculate the tern frequency for EACH words inside a document. Can anyone guide me ? Thank you for your attention.

© Stack Overflow or respective owner

Related posts about java

Related posts about information-retrieval