lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ahmet Arslan <iori...@yahoo.com.INVALID>
Subject Re: Phrase query given a word
Date Thu, 23 Apr 2015 19:52:18 GMT
Hi,

May be LUCENE-5317 relevant?

Ahmet

On Thursday, April 23, 2015 8:33 PM, Shashidhar Rao <raoshashidhar123@gmail.com> wrote:
Hi,

I have a large text and from that I need to calculated the top frequencies
of words ,
say 'Driving' occurs the most.

Now , I need to find phrase containing 'Driving' in the given text and the
frequency count of that phrase. The phrase could be three words where
driving could be in the middle or the first text with two words after that
or it could be the last text with two words before the given text.

I would appreciate if someone could post the source code , I am using
lucene4.10 ,
please let me know if this is possible.

Currently, I am doing a brute force but that isn't helping me much.

Please help

Thanks
sd

---------------------------------------------------------------------
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