List Info

Thread: Re: get doc/query similarity




Re: get doc/query similarity
country flaguser name
United States
2008-04-20 22:45:08
> From: Nathan Kurz <nateverse.com>
> 
> >  $similarity = $doc1->get_cosine($doc2);
> >  $similarity = $doc1->get_similarity($doc2,
$my_similarity_fxn);
> 
> I'm less happy with this approach.  This relates to my
general feeling
> that the way to solve this problem is not by adding new
interfaces,
> but by generalizing the scoring mechanism to allow
alternative scorers
> like this one.  The 'right' solution would be to create
a
> CosineScorer, and make it work with the existing
infrastructure.
> Adding convenience methods to score individual
documents would be
> great, but should be added to the Scorer (or
Similarity? or Weight?)
> rather than to the Doc.

I can dig that.




     
____________________________________________________________
________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9
tAcJ


_______________________________________________
KinoSearch mailing list
KinoSearchrectangular.com
http://www.rectangular.com/mailman/listinfo/kinosearch


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )