Thanks for your help. By the way does Lucene provide any API to retrieve the average frequecy of a term in the index directly? My goal is to compare the freq. of a term in a doc. with the average freq. of that term of all the indexed doc. in order to retrieve the good keywords.
Regards, Mungkol --- Otis Gospodnetic <[EMAIL PROTECTED]> wrote: > Check out Lucene from CVS and look in the contrib/ > directory: > > contrib/miscellaneous/src/java/org/apache/lucene/misc/HighFreqTerms.java > > Otis > > > --- Supheakmungkol SARIN <[EMAIL PROTECTED]> > wrote: > > > Dear all, > > > > I'd like to extract each term and its frequency in > the > > index and each file in order to get the potential > > keywords of each file. Does Lucene provide any > > built-in method to do that? > > > > Thank you in advance, > > > > Mungkol > > > > > > > > > > > > > > > > > > > > > > > > __________________________________ > > Yahoo! Mail - PC Magazine Editors' Choice 2005 > > http://mail.yahoo.com > > > > > --------------------------------------------------------------------- > > 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] > > __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]