RE: Finding words not followed by other words

2014-07-15 Thread Allison, Timothy B.
ay, July 14, 2014 9:58 PM To: java-user@lucene.apache.org Subject: RE: Finding words not followed by other words Thanks, Koji! This solves it. I had forgotten all about SpanNotQuery. -Michael -Original Message- From: Koji Sekiguchi [mailto:k...@r.email.ne.jp] Sent: Saturday, July 12, 20

RE: Finding words not followed by other words

2014-07-14 Thread Michael Ryan
Thanks, Koji! This solves it. I had forgotten all about SpanNotQuery. -Michael -Original Message- From: Koji Sekiguchi [mailto:k...@r.email.ne.jp] Sent: Saturday, July 12, 2014 10:45 AM To: java-user@lucene.apache.org Subject: Re: Finding words not followed by other words Hi Michael

Re: Finding words not followed by other words

2014-07-12 Thread Koji Sekiguchi
Hi Michael, I haven't executed this yet, but can you try this: SpanNotQuery(SpanNearQuery("George Washington"), SpanNearQuery("George Washington Carver")) Koji -- http://soleami.com/blog/comparing-document-classification-functions-of-lucene-and-mahout.html (2014/07/11 23:20), Michael Ryan wro

RE: Finding words not followed by other words

2014-07-11 Thread Michael Ryan
i Cao [mailto:tm...@me.com] Sent: Friday, July 11, 2014 11:25 AM To: java-user@lucene.apache.org Cc: java-user@ Subject: Finding words not followed by other words This is actually a tough problem in general: polysemy sense disambiguation. In your case, I think it's more like you'll prob

Finding words not followed by other words

2014-07-11 Thread Tri Cao
This is actually a tough problem in general: polysemy sense disambiguation. In your case, I think it's more like you'll probably need to do some named entity resolution to differentiate "George Washington" from "George Washington Carver" as they are two different entities. Do you have a list o

Finding words not followed by other words

2014-07-11 Thread Michael Ryan
I'm trying to solve the following problem... I have 3 documents that contain the following contents: 1: "George Washington Carver blah blah blah." 2: "George Washington blah blah blah." 3: "George Washington Carver blah blah blah. George Washington blah blah blah." I want to create a query that m