lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <otis_gospodne...@yahoo.com>
Subject Re: Extract term and its frequency from the index and file?
Date Mon, 14 Nov 2005 06:08:32 GMT
Overall avg. freq.?  No, but you should be able to calculate that
yourself.

Otis

--- Supheakmungkol SARIN <supheakmungkol@yahoo.com> wrote:

> 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 <otis_gospodnetic@yahoo.com>
> 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 <supheakmungkol@yahoo.com>
> > 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:
> > java-user-unsubscribe@lucene.apache.org
> > > For additional commands, e-mail:
> > java-user-help@lucene.apache.org
> > > 
> > > 
> > 
> > 
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > java-user-unsubscribe@lucene.apache.org
> > For additional commands, e-mail:
> > java-user-help@lucene.apache.org
> > 
> > 
> 
> 
> 
> 
> 
> 	
> 		
> __________________________________ 
> Yahoo! Mail - PC Magazine Editors' Choice 2005 
> http://mail.yahoo.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message