Click here to Skip to main content
15,896,415 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: (untagged)
Brothers, i needed a c++ code that counts the term frequency of a given document. This term frequency code should count each words in a document and tell how many times each word is repeated. Can u help me out with this. Please, i need it and it is urgent.....Thank u
Posted

Nobody will just give you the code, and also, it is only urgent for you and not the rest of the population!

You basically want to open the document, and build an index of each word occurrence and populate its count.

Have a go yourself, and then come back when you get stuck and provide specifics of what you have tried.

 
Share this answer
 
:-D
Hi there ,
I want to be member of this project
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900