Phase Extraction, mainly for English

2009-10-06 Thread Andrew Zhang
Hi guys, The requirement is very simple here, e.g. for this sentence, 'The NBA formally announced its new *social media* guidelines Wednesday', I want to treat '*social media*' as a whole phase term. The default english analyzers came with lucene all deal with single word, so it you want to get t

Re: Phase Extraction, mainly for English

2009-10-06 Thread Andrew Zhang
em. > > Regards > Vasu > > On Tue, Oct 6, 2009 at 5:12 PM, Andrew Zhang > wrote: > > > Hi guys, > > > > The requirement is very simple here, e.g. for this sentence, 'The NBA > > formally announced its new *social media* guidelines Wednesday

Re: Phase Extraction, mainly for English

2009-10-06 Thread Andrew Zhang
ew, > > I think you are looking for the shingle package in contrib/analyzers. > > > karl > > 6 okt 2009 kl. 13.42 skrev Andrew Zhang: > > > Hi guys, >> >> The requirement is very simple here, e.g. for this sentence, 'The NBA >> formally an

Re: Phase Extraction, mainly for English

2009-10-06 Thread Andrew Zhang
entirely, but can you use phrase queries?or > one of the Span* queries with a slop of 0 when searching? > > Best > Erick > > On Tue, Oct 6, 2009 at 7:42 AM, Andrew Zhang > wrote: > > > Hi guys, > > > > The requirement is very simple here, e.g. for this sen