The "CollocationFinder" code attached to this may be more suited.... http://issues.apache.org/jira/browse/LUCENE-474
Again, not exactly sure of your use case. Cheers Mark ----- Original Message ---- From: karl wettin <[EMAIL PROTECTED]> To: java-user@lucene.apache.org Sent: Thursday, 9 August, 2007 11:16:35 AM Subject: Re: frequent phrases 9 aug 2007 kl. 09.34 skrev Akanksha Baid: > I was wondering if there is a "search based" method to find the top-k > frequent phrases in a set of documents.( I do not have a particular > phrase > in mind so PhraseQuery can probably be ruled out). > I have implemented something that works using termvectors and > termpositions > but the performance is not great so far since I am basically iterating > multiple times and hacking my way around. I was wondering if an API > exists > for finding frequent phrases and/or if someone could point me to > some code > for the same. I think this is the closest thing available in the issue tracker: https://issues.apache.org/jira/browse/LUCENE-725 -- karl --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ___________________________________________________________ Yahoo! Mail is the world's favourite email. Don't settle for less, sign up for your free account today http://uk.rd.yahoo.com/evt=44106/*http://uk.docs.yahoo.com/mail/winter07.html --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]