Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 49592 invoked from network); 28 Nov 2007 15:46:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Nov 2007 15:46:42 -0000 Received: (qmail 20499 invoked by uid 500); 28 Nov 2007 15:46:23 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 20463 invoked by uid 500); 28 Nov 2007 15:46:23 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 20452 invoked by uid 99); 28 Nov 2007 15:46:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Nov 2007 07:46:23 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Nov 2007 15:46:02 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1IxP6y-0003BH-Ia for java-user@lucene.apache.org; Wed, 28 Nov 2007 07:46:04 -0800 Message-ID: <13995126.post@talk.nabble.com> Date: Wed, 28 Nov 2007 07:46:04 -0800 (PST) From: bigdoginuk To: java-user@lucene.apache.org Subject: Re: Compute the co-occurence beteen a phrase and a word In-Reply-To: <996C3783-A0C2-4793-94E3-CAC8666F18A7@apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: fzsu@comp.leeds.ac.uk References: <13990651.post@talk.nabble.com> <996C3783-A0C2-4793-94E3-CAC8666F18A7@apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Hi, thanks for the reply. But can anyone give me some more hints? I have checked SpanQuery, but still haven't found out a solution. Thanks. Grant Ingersoll-6 wrote: > > Have a look at SpanQuery and it's derivatives. You will need to do > some post-processing as well. > > -Grant > > On Nov 28, 2007, at 6:41 AM, bigdoginuk wrote: > >> >> Hi all, >> I want to compute the co-occurence frequency between a word and a >> phrase( >> this phrase contains some words, and the words in it should be >> successive >> and in order). It's like an NEAR operation (like setting slop at 3...) >> >> Does anyone know how to implement this? >> >> Thanks in advance. >> >> Rooney >> -- >> View this message in context: >> http://www.nabble.com/Compute-the-co-occurence-beteen-a-phrase-and-a-word-tf4887952.html#a13990651 >> Sent from the Lucene - Java Users mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org >> For additional commands, e-mail: java-user-help@lucene.apache.org >> > > -------------------------- > Grant Ingersoll > http://lucene.grantingersoll.com > > Lucene Helpful Hints: > http://wiki.apache.org/lucene-java/BasicsOfPerformance > http://wiki.apache.org/lucene-java/LuceneFAQ > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org > For additional commands, e-mail: java-user-help@lucene.apache.org > > > -- View this message in context: http://www.nabble.com/Compute-the-co-occurence-beteen-a-phrase-and-a-word-tf4887952.html#a13995126 Sent from the Lucene - Java Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org