How to do a Hebrew lemma search for multiple homographs and use wildcards

Scott
Scott Member Posts: 24 ✭✭
edited November 2024 in English Forum

Two questions:

First,

I have a search of All Morph Text in All Passages in AFAT with Anderson-Forbes Hebrew Morphology for

<lemma = af/he/אדם:3>

What I want is to include multiple homographs (or all), but I cannot figure out how to make it read more than just homograph 3 (i.e. what to put in place of the '3:') to get other hits. The above search misses all references to אדם in Genesis 5 because that is homograph 6.

I've somewhat lost track of the variations I've tried. I know I've eliminated the '3:', but that returns 0 results, rather than all homographs (which as a user, I would have expected it to return all homographs). I've tried '*:' (also in an attempt to get all homographs). I've tried [3,6] and [3 OR 6] with no success.

So, does anyone know of a way to format the search to return all or even better, select mulitiple homographs for a word?

Second,

How does one use a wildcard character with a Hebrew word search? I tried doing a similar search to the one above, but using simply אדם as the parameter. It returns only hits that do not have an article or an inseparable preposition. So I was trying to setup a wildcard search to pick up the others. I tried אדם? and אדם* but the first yielded no results and the second showed the results as if the wildcard was not there.

Thanks for any help.

Scott

Comments

  • Scott said:

    So, does anyone know of a way to format the search to return all or even better, select mulitiple homographs for a word?

    <lemma = af/he/אדם:6> OR <lemma = af/he/אדם:5> OR <lemma = af/he/אדם:4> OR <lemma = af/he/אדם:3> OR <lemma = af/he/אדם:2> OR <lemma = af/he/אדם:1>

    image

    Keep Smiling [:)]

  • Dave Hooton
    Dave Hooton MVP Posts: 36,009

    There is no way other than listing each possible lemma:-

    (<lemma = af/he/אדם:1>, <lemma = af/he/אדם:2>, <lemma = af/he/אדם:3>, <lemma = af/he/אדם:4>,<lemma = af/he/אדם:5>, <lemma = af/he/אדם:6>, <lemma = af/he/אדם:7>)

    This format with commas is called a List. The parentheses ()  are not needed for this simple search.

    Dave
    ===

    Windows 11 & Android 13

  • Scott
    Scott Member Posts: 24 ✭✭

    Thanks to "Keep Smiling" and Dave. That at least works for solving the first question. Though I must say, it would make much more sense to me that if one leaves off the reference to the homograph, such as <lemma = af/he/אדם>, it would return ALL homographs. Or if I could use a wildcard or range in place, like <lemma = af/he/*:אדם> or <lemma = af/he/(1-7):אדם>, it would at least be far easier to construct the search.

    Anyone have answers to the second question, about using wildcards at all with Hebrew?

  • Dave Hooton
    Dave Hooton MVP Posts: 36,009

    It would appear that wildcards do not work with Hebrew, but I cannot provide a definite reason for this. Hopefully others will join in.

    Dave
    ===

    Windows 11 & Android 13

  • image

    Highlighted "1." then typed "*" for a wildcard search (bit surprised where * wildcard appears in search expression).

    Keep Smiling [:)]

  • Scott
    Scott Member Posts: 24 ✭✭

    The odd thing is, I did that, only I kept "forcing" the * (by cut/paste) to the "end" of the Hebrew word (to the left), which did not work (even though that is the position it should have been in as a wildcard).

    Thanks for that bit of insight!