Results 1 to 8 of 8

Thread: search for non-Qal verbs?

  1. #1
    Join Date
    Apr 2004
    Posts
    614

    Default search for non-Qal verbs?

    The professors at GCTS often test students in Hebrew exegesis/grammar courses by requiring the students to parse all non-Qal verbs.

    I've been asked a few times how to run a search in BibleWorks for all non-Qal verbs so that the student can highlight the pertinent words.

    One way of doing it would be this:

    .*@v[punhotsrvwxabcdefgiyklm]*

    The letters in between the left and right brackets represent an "or" search of all stems but the Qal.

    A student was able to achieve the same search by using the Graphical Search Engine and using an "exclusion" list to exclude any Qal verbs.

    I thought that there would be a third way:

    I tried the following search (with my search limited only to the Book of Jonah):

    (*@v*).!(*@vq*)

    The first set a parentheses would look for all verbs. The second set of parentheses would then search for all Qal verbs, but the exclamation point set in between the two sets of parenthesis would "negate" the second set. Unfortunately, this does not work. When I perform the search given above, I only get 1 hit.

    Now that I think of it, I understand why... The search above looks for VERSES not words. It looks for verses that have verbs and then negates all verses that have Qal verbs.

    So, here's the question. Is there a way to negate on a word by word level. So that one could do something like this:

    .*@v!q*

    I know that this search does not work, but I was wondering if there's anything that might work like this.
    Jim Darlack - Associate Director of Goddard Library /
    Reference Librarian at Gordon-Conwell Theological Seminary

    Gloucester Assembly of God | Gordon-Conwell Theological Seminary
    The 'Unofficial' BibleWorks Blog | Old in the New | Facebook | LibraryThing

  2. #2
    Join Date
    Mar 2004
    Posts
    960

    Default Non-qal search

    Quote Originally Posted by jdarlack View Post
    The professors at GCTS often test students in Hebrew exegesis/grammar courses by requiring the students to parse all non-Qal verbs.

    I've been asked a few times how to run a search in BibleWorks for all non-Qal verbs so that the student can highlight the pertinent words.

    One way of doing it would be this:

    .*@v[punhotsrvwxabcdefgiyklm]*

    So, here's the question. Is there a way to negate on a word by word level. So that one could do something like this:

    .*@v!q*

    I know that this search does not work, but I was wondering if there's anything that might work like this.
    Jim,

    Instead of

    .*@v[punhotsrvwxabcdefgiyklm]*

    you could use

    .*@v[^q]*

    Mike

  3. #3
    Join Date
    Apr 2004
    Posts
    614

    Default .*@v[^q]* WOW!

    Quote Originally Posted by MBushell View Post
    .*@v[^q]*
    Wow!

    13841 verses, 9676 forms, 22560 hits, and 4.53 seconds later, I have done a search on all non-Qal verbs in the entire Old Testament and highlighted them for future reference.

    Is the [^x] function documented in the help files anywhere? I don't think I've ever come across that!
    Jim Darlack - Associate Director of Goddard Library /
    Reference Librarian at Gordon-Conwell Theological Seminary

    Gloucester Assembly of God | Gordon-Conwell Theological Seminary
    The 'Unofficial' BibleWorks Blog | Old in the New | Facebook | LibraryThing

  4. #4
    Join Date
    Apr 2004
    Posts
    614

    Default other applications?

    Ok, so I just tried a similar search in Greek (BGM):

    .*@v[^i]*

    Given the way the ^ worked in the WTM, I would assume that this search should find all non-indicative verbs (and achieve the same results as .*@v[sodnp]*). It does not work, however.

    Does the caret (^) apply to searches outside of the WTM?
    Jim Darlack - Associate Director of Goddard Library /
    Reference Librarian at Gordon-Conwell Theological Seminary

    Gloucester Assembly of God | Gordon-Conwell Theological Seminary
    The 'Unofficial' BibleWorks Blog | Old in the New | Facebook | LibraryThing

  5. #5
    Join Date
    Mar 2004
    Posts
    960

    Default

    Quote Originally Posted by jdarlack View Post
    Ok, so I just tried a similar search in Greek (BGM):

    .*@v[^i]*

    Given the way the ^ worked in the WTM, I would assume that this search should find all non-indicative verbs (and achieve the same results as .*@v[sodnp]*). It does not work, however.

    Does the caret (^) apply to searches outside of the WTM?
    Jim, try grabbing 8.0.011j. It was broken by work on other mysterious undocumented features to be released in the Fall. But it should be ok now. Another lightly documented features is that you can use curly braces as well as square brackets. They are necessary in some cases in Hebrew to avoid confusion with the ayin which is on the left square bracker key. If you ever have trouble with square brackets try the curlies.
    Mike

  6. #6
    Join Date
    Apr 2004
    Posts
    618

    Default Documentation for an undocumented feature

    The undocumented use of the ^ is a character negation when used with the two brackets [ and ]. This is part of the use of regular expressions on the Command Line. By placing a [ followed by a ^ followed by a morph code and then followed the closing ], you are telling BibleWorks to find everything in that character slot except the character listed.

    In the example for the BGM, .*@v[^i]*, this means that all tags for the mood are valid except for indicative.

    In other words, you can use regular expressions within brackets [ and ] in morphological tags on the Command Line. This is an undocumented feature, and could have undocumented limitations. :-) (I just found out about it today, so I haven't had a lot of time to test it. But it does work in the WTM and BGM.)
    Glenn Weaver

    For technical support, please contact Customer Support.

  7. #7
    Join Date
    Dec 2008
    Posts
    118

    Default What can I say

    Jdarlack,

    Thanks for posting your questions. It has served to really open my eyes to the power and sophistication of BW 8.


    MBushell and Glenn Weaver,

    Thanks for your prompt responses. Camping out at the forums and been worth their weight in gold. May God richly bless you.

  8. #8

    Thumbs up I concur!

    Quote Originally Posted by precha1 View Post
    jdarlack,

    thanks for posting your questions. It has served to really open my eyes to the power and sophistication of bw 8.


    Mbushell and glenn weaver,

    thanks for your prompt responses. Camping out at the forums and been worth their weight in gold. May god richly bless you.
    +1! 23456789

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •