lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grant Ingersoll <gsing...@apache.org>
Subject Re: Compute the co-occurence beteen a phrase and a word
Date Wed, 28 Nov 2007 11:49:51 GMT
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


Mime
View raw message