You can also see 'Books like this' example from here https://secure.manning.com/catalog/view.php?book=hatcher2&item=source
Otis --- Bruce Ritchie <[EMAIL PROTECTED]> wrote: > Christoph, > > I'm not entirely certain if this is what you want, but a while back > David Spencer did code up a 'More Like This' class which can be used > for generating similarities between documents. I can't seem to find > this class in the sandbox so I've attached it here. Just repackage > and test. > > > Regards, > > Bruce Ritchie > http://www.jivesoftware.com/ > > > -----Original Message----- > > From: Christoph Kiefer [mailto:[EMAIL PROTECTED] > > Sent: December 14, 2004 11:45 AM > > To: Lucene Users List > > Subject: TFIDF Implementation > > > > Hi, > > My current task/problem is the following: I need to implement > > TFIDF document term ranking using Jakarta Lucene to compute a > > similarity rank between arbitrary documents in the constructed > index. > > I saw from the API that there are similar functions already > > implemented in the class Similarity and DefaultSimilarity but > > I don't know exactly how to use them. At the time my index > > has about 25000 (small) documents and there are about 75000 > > terms stored in total. > > Now, my question is simple. Does anybody has done this before > > or could point me to another location for help? > > > > Thanks for any help in advance. > > Christoph > > > > -- > > Christoph Kiefer > > > > Department of Informatics, University of Zurich > > > > Office: Uni Irchel 27-K-32 > > Phone: +41 (0) 44 / 635 67 26 > > Email: [EMAIL PROTECTED] > > Web: http://www.ifi.unizh.ch/ddis/christophkiefer.0.html > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: > [EMAIL PROTECTED] > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]