Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to calculate term frequency and inverse document frequency -tf.idf

Status
Not open for further replies.

noraz

MIS
Oct 15, 2010
1
AU
Hi,

I'm building a small information retrieval (IR) application using VB6. I'm stuck at the calculating the tf.idf part. I've google for the solutions/codes, but didn't find anything in vb6, except other languages such as phyton etc (which I'm not familiar with). I'm also a beginner programmer in vb6.

If someone could show me the sample code or have knowledge on such links that provided the solution, please let me know. Need help here.Thanks in advance.
 
Here's the wikipedia on tf-idf:
Here also is some C# source code that does the job: You might be able to get some ideas from that.

To do it yourself, first take the mathematical formulas and put them into a series of steps. Then attempt to program the steps one at a time. Then you'll be able to ask for more specific help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top