delineating hits

Post Reply
kzinda
Posts: 62
Joined: Fri Nov 30, 2001 6:18 am

delineating hits

Post by kzinda »

We are executing proximity phrase searches and specify that only the hits where the words are not separated by commas are valid as follow: word1 word2 W/[^,]{,xchar}. How do we add the additional requirement that the hit also be in the same sentence to be valid?
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

delineating hits

Post by mark »

I'm not sure what xchar is supposed to be. There should be a number there.

You might use a variation on the sentence delimiter and include , along with . etc.

[^\digit][.,?!][\space'"]
Post Reply