Jump to content


Photo

Find specific sequence of Hebrew vowels within a word


  • Please log in to reply
8 replies to this topic

#1 Thomas

Thomas

    Bronze

  • Active Members
  • PipPip
  • 81 posts
  • Gender:Male
  • Location:Pasadena, CA

Posted 11 November 2008 - 01:51 PM

How would I search for a specific sequence of vowels in a word in Hebrew? e.g. qamaṣ followed by pataḥ as in הַָלַךְ, or say qamaṣ followed by shewa as in שָׁכְבְּךָ?

I know to search for a specific vowel I can enter:
But then what would I put after that?

Edited by Thomas, 11 November 2008 - 01:52 PM.


#2 David Lang

David Lang

    Platinum

  • Accordance
  • 756 posts
  • Gender:Male
  • Location:Mount Dora, FL
  • Interests:Accordance development, writing, spending time with my wife and five kids
  • Accordance Version:9.x

Posted 11 November 2008 - 04:21 PM

Thomas,

To do what you're asking, you'll need to do an exact search using wildcards, and I'm assuming you'll want to search inflected forms. Try this for starters:

"=?D?A*"

The question marks are character wildcards representing any consonant, and after each I've entered a vowel (qamas then patah). The asterisk wildcard at the end will pick up any combination of letters beyond that.

Hope this helps.
Sincerely,
David Lang
Accordance Developer
http://www.accordancebible.com

Author:
Feet to Follow, Eyes to See
http://feettofollow.wordpress.com

Macs in the Ministry
http://www.macsinministrybook.com

Leader of the "Lang Gang"
http://www.langgangland.com
http://twitter.com/DavidAllenLang

#3 Thomas

Thomas

    Bronze

  • Active Members
  • PipPip
  • 81 posts
  • Gender:Male
  • Location:Pasadena, CA

Posted 11 November 2008 - 04:24 PM

Right on target, yes. Thank you.

#4 Thomas

Thomas

    Bronze

  • Active Members
  • PipPip
  • 81 posts
  • Gender:Male
  • Location:Pasadena, CA

Posted 17 January 2009 - 06:58 PM

I need to modify this search a bit.

I want to find: a letter has a dagesh and shewa, and is preceded by a vowel. Using parentheses and <OR> operators didn't seem to get me what I need.

My pseudocode:
"=(?vowel1 <OR> ?vowel2 <OR> ?vowel3)?+dagesh+shewa

Thanks


Thomas,

To do what you're asking, you'll need to do an exact search using wildcards, and I'm assuming you'll want to search inflected forms. Try this for starters:

"=?D?A*"

The question marks are character wildcards representing any consonant, and after each I've entered a vowel (qamas then patah). The asterisk wildcard at the end will pick up any combination of letters beyond that.

Hope this helps.



#5 David Lang

David Lang

    Platinum

  • Accordance
  • 756 posts
  • Gender:Male
  • Location:Mount Dora, FL
  • Interests:Accordance development, writing, spending time with my wife and five kids
  • Accordance Version:9.x

Posted 17 January 2009 - 08:22 PM

Thomas, the way to do this is not to use the OR command, but to use a question mark followed by parentheses. When you have parentheses immediately after the character wildcard, you can specify the characters that wildcard can match by placing those characters in parentheses.

For example, in English, the search ?(aeiou)* would find all words which begin with a vowel, since the question mark representing the first character has been constrained to be a vowel by only including vowels in the parentheses.

Now, to do the search you're wanting to do, you would use two questions marks. The first would represent the vowel, while the second would represent the consonant with the dagesh and shewa. The first question mark would be followed by parentheses enclosing whatever vowels you want to find. The following will find sere (E), seghol ®, and hatef segol (T). You could include all vowels if you like:

"=?)ERT(?;V*"

Note that the parentheses look reversed in English. It is the ERT which is enclosed in the reversed parentheses. The only other thing to note is that I included an asterisk wildcard at the end to allow for other characters after this particular combination of characters. You might also want to add an asterisk at the beginning depending on what you're looking for.

Hope this helps.
Sincerely,
David Lang
Accordance Developer
http://www.accordancebible.com

Author:
Feet to Follow, Eyes to See
http://feettofollow.wordpress.com

Macs in the Ministry
http://www.macsinministrybook.com

Leader of the "Lang Gang"
http://www.langgangland.com
http://twitter.com/DavidAllenLang

#6 Thomas

Thomas

    Bronze

  • Active Members
  • PipPip
  • 81 posts
  • Gender:Male
  • Location:Pasadena, CA

Posted 18 January 2009 - 03:25 AM

Ok. This might just be a small bug, but when I search for:
‏"=*?(ַ)?ְּ*" which is "=*?)A(?;V*"
Search within Verse of Torah, I get 212 results. In the concordance in the Details window, I see a listing of אבד for Gen 37:34. The issue is, the word highlighted does not fit the search criteria. We know this, because the main search window does not return this verse since it does not meet the search criteria.

Also, to get the search to work, I had to add a * to the beginning as well. Accordance is so powerful; this is really very useful. Thanks for your help as I narrow my search down.

#7 Helen Brown

Helen Brown

    Mithril

  • Admin
  • 8,037 posts
  • Gender:Female
  • Location:heart in Israel
  • Accordance Version:10.x

Posted 18 January 2009 - 06:52 AM

The concordance will not be useful in this case, since it concords the lemmas of your hit words throughout eother your range or the entire text. It doe not list only the hits but each occurrence of each lemma.
Helen Brown
OakTree Software

#8 Thomas

Thomas

    Bronze

  • Active Members
  • PipPip
  • 81 posts
  • Gender:Male
  • Location:Pasadena, CA

Posted 19 January 2009 - 12:27 AM

Ok, so I'm getting a handle on using this. I'm able to narrow my search down to nouns, but I want to exclude certain words, e.g. לילה.
Can I do a search like this that excludes one or more words? e.g. לילה and maybe רחב.

"=*?)D(?V*"@[noun ]

Thanks,

#9 Helen Brown

Helen Brown

    Mithril

  • Admin
  • 8,037 posts
  • Gender:Female
  • Location:heart in Israel
  • Accordance Version:10.x

Posted 19 January 2009 - 06:39 AM

You can add another @ followed by a hyphen and the word you want to exclude, or several words in parentheses separated from each other by commas).
Helen Brown
OakTree Software




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users