Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Re: Re: Re: Re: Refining a 'vector space search'.

by gjb (Vicar)
on Jun 28, 2003 at 19:45 UTC ( [id://269924]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Re: Re: Refining a 'vector space search'.
in thread Refining a 'vector space search'.

This depends on the algorithm. Some information retrieval algorithms just work with boolean values, others keep track of the frequency of a term in a document.

If you want to keep track of the frequencies, you can either store position/frequency pairs or use two lists, one for the position, the other for the frequencies. The former approach is cleaner, the latter should be faster.

Hope this helps, -gjb-

  • Comment on Re: Re: Re: Re: Re: Refining a 'vector space search'.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://269924]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2024-04-19 17:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found