PDA

View Full Version : Compound search



toph
04-22-2009, 04:33 AM
Hi,

I'm stuck trying to construct a search that finds all instances of πνευμα in the genitive not preceded by a definite article OR a preposition. I tried variations of this:

'(/ (!o@dg*) (!*@p*)) πνευμα@n-g*

So far I haven't succeeded in building a valid query. How would I go about doing this?

Adelphos
04-22-2009, 07:39 AM
I'm stuck trying to construct a search that finds all instances of πνευμα in the genitive not preceded by a definite article OR a preposition.

I made this query in the GSE for you.

MGVH
04-22-2009, 01:43 PM
Adelphos' query works fine. This is how I put it together that is very similar and returns the same results.
(I used a NOT OR subquery instead of 2 NOT ANDs)

toph
04-22-2009, 02:10 PM
Thank you, brothers.
So I guess there's no way to do this via the command line?

Adelphos
04-22-2009, 03:14 PM
Thank you, brothers.
So I guess there's no way to do this via the command line?

I suspect there is, but it may require a Bushellomaker or a Tanomaker to do it.

MBushell
04-22-2009, 07:53 PM
Thank you, brothers.
So I guess there's no way to do this via the command line?
The command line was not really intended to handle anything but simple AND/OR/NOT searches with very simple subsearches. That covers 99% of what most people do most of the time. For the additional 1% things get pretty complex and that was why the GSE was invented. We could invest more time in the command line but that would be an inefficient use of time because it will never be able to do what the GSE does. The GSE isn't that hard one you take the plunge and it is incredibly powerful.
Mike

MGVH
04-23-2009, 01:21 AM
This should work via the command line:
(πνευμα@ng*).!('o@dg* πνευμα@ng*)
> This gets all the genitive pneumas and eliminates all the article pneumas.
Then, right click on command line, > Checkbox Search Filter > Limit search to checked verses

Then run:
(πνευμα@ng*).!('*@p* πνευμα@ng*)
to get rid of all prep + Pneuma

It SHOULD work, but this procedure crashes the program every time.

I've also tried:
(πνευμα@ng*).!('o@dg* πνευμα@ng*).!('*@p* πνευμα@ng*)
but that only returns 8 results.

MBushell
04-23-2009, 01:12 PM
It SHOULD work, but this procedure crashes the program every time.

Mark. Try 8.0.008w. It should fix this command line search procedure.
Thanks,
Mike

MGVH
04-23-2009, 09:57 PM
This should work via the command line:
(πνευμα@ng*).!('o@dg* πνευμα@ng*)
> This gets all the genitive pneumas and eliminates all the article pneumas.
Then, right click on command line, > Checkbox Search Filter > Limit search to checked verses

Then run:
(πνευμα@ng*).!('*@p* πνευμα@ng*)
to get rid of all prep + Pneuma

It SHOULD work, but this procedure crashes the program every time.

I've also tried:
(πνευμα@ng*).!('o@dg* πνευμα@ng*).!('*@p* πνευμα@ng*)
but that only returns 8 results.

Excellent, Mike! The new update works perfectly.
For this type of 'compound query,' using this trick of running one command line search, limiting search to results, then running a subsequent search is actually faster to compose and run than using the GSE.

AND WHAT'S MORE, I did also figure out how to run this search in a single pass from the command line:
(πνευμα@ng*).!('o@dg* πνευμα@ng*)/!('*@p* πνευμα@ng*)
I had had two AND NOTs but, remembering that BW processes the searches sequentially, it was simply a matter of using an AND NOT and then an OR NOT.