Hebrew searching with wildcards

Joshua Jensen
Joshua Jensen Member Posts: 27
edited November 21 in English Forum

I would like to construct a search in the following form:

lemma:לֹא@G BEFORE 1 WORD [any noun] BEFORE 1 WORD lemma:וְ@C BEFORE 1 WORD [any noun]

I can't figure out how to get "any noun." If I do something like lemma:*@N (which is the syntax I'd expect), I get nothing.

Obviously I don't understand wildcards, because a simple search like lemma:?@C or lemma:*@C limited to Genesis 1 gives me exactly 0 results, but there are plenty of conjunctions in Genesis 1!

(Just giving me a link to where I can find the right information would be sufficient. No doubt this is well-documented somewhere, but I can't find it.)

Tagged:

Comments

  • Andrew Batishko
    Andrew Batishko Member, Community Manager, Logos Employee Posts: 5,366

    Get rid of what you've got currently, and type the @ symbol. This will pop up a selection menu where you can select Noun. When you click out of the popup to close it, you will be left with the syntax you want. Note that different resources can use different morphologies, each of which can use their own set of codes.

    Essentially the problem here is that you should be trying to also specify the lemma.

    Andrew Batishko | Logos software developer

  • Dave Hooton
    Dave Hooton MVP Posts: 35,682

    lemma:לֹא@G BEFORE 1 WORD [any noun] BEFORE 1 WORD lemma:וְ@C BEFORE 1 WORD [any noun]

    Your syntax is essentially correct for a Morph Search  e.g. lemma:לֹא@G = <lemma> followed by <part of speech>. So [any noun] will be <part of speech for Noun> i.e. type @ and select "Noun" from the drop-down, ensuring that you select "Logos Hebrew" at the top.  You may end up with @N, but most likely you will get <LogosMorphHeb ~ N?????>, which you can use in a Morph/Bible/Basic Search.

    So your Morph Search query will look like:

    lemma:לֹא@G BEFORE 1 WORD <LogosMorphHeb ~ N?????> BEFORE 1 WORD lemma:וְ@C BEFORE 1 WORD <LogosMorphHeb ~ N?????>

    This works fine for a Bible with Hebrew reverse interlinear like ESV, NIV, CSB but be aware that you will get very different results with a Hebrew Bible because the order of words is different and because many words are concatenated, affecting the spacing you need.

    For more info see Morph Search in the wiki https://wiki.logos.com/Search_HELP

    Dave
    ===

    Windows 11 & Android 13

  • Dave Hooton
    Dave Hooton MVP Posts: 35,682

    lemma:לֹא@G BEFORE 1 WORD <LogosMorphHeb ~ N?????> BEFORE 1 WORD lemma:וְ@C BEFORE 1 WORD <LogosMorphHeb ~ N?????>

    This can be varied if you want [any Negation] @G and [any Conjunction] @C i.e.

    <LogosMorphHeb ~ G> BEFORE 1 WORD <LogosMorphHeb ~ N?????> BEFORE 1 WORD <LogosMorphHeb ~ C?> BEFORE 1 WORD <LogosMorphHeb ~ N?????>   ----> this will provide more results.

    If you wanted the specific lemma, try:

    lemma:לֹא BEFORE 1 WORD <LogosMorphHeb ~ N?????> BEFORE 1 WORD lemma:וְ BEFORE 1 WORD <LogosMorphHeb ~ N?????>

    ----> this doesn't affect the results

    Dave
    ===

    Windows 11 & Android 13

  • Joshua Jensen
    Joshua Jensen Member Posts: 27

    Perfect. Thanks.