Jump to content

two te'amim (accents) on one word. how to search?


Joshua Jacobson

Recommended Posts

I love Accordance and I use it regularly for teaching, research, publication, etc,
Most of my work involves the masoretic accents of the Hebrew Bible. I’ve learned how to do a simple search.
But this is more complicated. I need to do a search for an accent that is called “oleh-veyored." עוֹלֶ֫ה־וְיוֹרֵ֥ד
It is a compound accent, consisting of two accent marks on the same word.
How do I do a search for an accent like that?
Thanks in advance for your help.
Link to comment
Share on other sites

Welcome to the forums @Joshua Jacobson

And, thanks for the interesting question!

 

Okay, just to get started here is one faulty search (you probably already knew)that 'might work' but also picks up false hits.

(In the past I have used something like this to search on etnachta clause pattern/string ‘Mercha, Tipcha, Munach, Etnachta’).

This search resulted in two false hits and one correct hit:

 

 

Screenshot2024-05-21at22_51_31.thumb.png.e3d7f196d437c36a0601414b65ba35a5.png

 

Regards and I'll be back

Link to comment
Share on other sites

This time around 'seemed' to work...

Screenshot2024-05-21at23_57_17.thumb.png.32093d071ba6a530befedb57e3532c95.png

Link to comment
Share on other sites

  • 3 weeks later...
Posted (edited)

@Joshua Jacobson

 

Your request is a good one a very good one!

I am sorry to report some bad news others have been wanting to run this type of search but without any luck so far: 

 

search for words with two accents (2023)

https://forums.accordancebible.com/topic/35717-a-search-for-words-with-two-accents/#comment-181808

 

How to find one (prosodic) word with two cantillation marks? (2018)

https://forums.accordancebible.com/topic/22801-how-to-find-one-prosodic-word-with-two-cantillation-marks/

 

I wonder if the following program might allow for the searching of two accents on one word?

 

RegexForAccordance

 

 

 

Edited by Brian K. Mitchell
Link to comment
Share on other sites

Hi. I am the author of RegexForAccordance.  Yes, you can do this with regular expressions. 

 

You are looking for words with two or more cantillation marks. The pattern is a sequence like this.

 

A word boundary.

Zero or more non-whitespace characters, followed by a cantillation mark.

Repeat that two or more times.

Zero or more non-whitespace characters to finish the word.

A word boundary.

 

Here are the things we need to match.

 

\b matches a word boundary

\S matches non-whitespace

[\u0591-\u05AF] matches any Hebrew cantillation mark

* matches the previous thing zero or more times

{2,} matches the previous thing 2 or more times

 

First, make sure that RegexForAccordance is not removing the cantillation marks. Click the Filters button and uncheck these boxes.

* Remove Hebrew Cantillation

* Remove Hebrew Points

 

rfa-filter.png.a0b361d92f0cd26890b8c325ead70fa8.png

 

 

Text Module: HMT-W4

Range: Gen-2Chr

Search: \b(\S*[\u0591-\u05AF]){2,}\S*\b

 

Result: 9380 hits in 8011 verses.

rfa-result-9380.thumb.png.0bce7d2336922ab741488f8d32a0e8ba.png

 

If you want only specific cantillation marks, you can list individual Unicode numbers. For example, in another post, someone wanted to find telisha gadol and geresh/gershayim in the same word.  Let’s try that.

 

Wikipedia gives the Unicode numbers for these symbols.

https://en.wikipedia.org/wiki/Hebrew_cantillation#Names_in_different_traditions

 

wiki-cantillation-unicode.png.c39546af3413484d909425ba6204c78f.png

 

Search: \b(\S*[\u05A0\u059C\u059E]){2,}\S*\b

 

Result: 3 hits in 3 verses

Lev 10:4; 2 Kgs 17:24; Ezek 48:10

rfa-result.thumb.png.5847548384633903534c75cfb88a344b.png

 

 

I hope that is what you are looking for. If not, please give some more examples, and I will try again.

 

 

 

  • Like 1
  • Thanks 1
Link to comment
Share on other sites

Hello and Thank you @Darin Franklin !

I believe the above types of searches are what @Joshua Jacobson wanted to accomplish.

Thank you so much for creating RegexForAccordance and for posting here!

Link to comment
Share on other sites

@Darin Franklin We should feature your app on our blog, social media, and Accordance Exchange! It's fantastic. 

 

If we ever add Regex into Accordance in the future, we may just have to chat with you. :-)

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...