Monday, November 24, 2008

Logos: Searching for Long Sentences

A guest post by Tim Bahula, ardent Logos user


The Bible software showdown continues! When I read Rod Decker's article on finding complex sentences in Mark using Accordance, a spark was kindled. But not having a particular interest in complex sentences, in Mark, or in Accordance, it faded. When I read MVGH's article on doing the same search in Bibleworks, I knew that I need to try my hand at it in Logos.

Even though I've heard rave reviews about using Bibleworks for biblical research, my only experience with it was just after I completed my M.Div. in 1992. At the time I was a poor struggling graduate and couldn't justify the expense of Bible study software. When I had money a few years later, I purchased Logos Bible software and have since made a significant investment in adding library resources. So I want to make it work.

My search approach was spawned by a comment made by Mike on MVGH's entry. He suggested,
"I do think it could be done with a graphical query though, since Logos also allows crossing verse boundaries."

My method was to use a graphical query to find any two words in the same sentence separated by 50 or more words. This search is easy and fast to set up, it runs fast, and it produces accurate results that are easy to interpret and screen.

If you just want the results, the search returns Mark 2:25-26; 3:7-8; 4:31-32; 5:2-4; 5:25-27; 6:7-9; 7:2-5a; 10:29b-30; 10:32b-34; 13:14-16.

If you want to run it for yourself, you can download the graphical query here. You'll need these parameters in the search dialog:




Here are the steps to follow.
  1. Open the Gramcord NA 27
  2. Start a graphical query using from the menu: File > New > Graphical Query - Provide the name you want and hit OK
  3. Drag a TERM object into the search window
  4. When the dialog opens, select Language = Greek, Term = * > OK
  5. Repeat the previous two steps to create a second TERM object identical to the first
  6. Now draw a line from the first (left-most) object to the second (right-most) object (If you haven't drawn lines before, it is a matter of moving your cursor near an object until a gray arrowhead appears and then dragging it to the desired object to be connected)
  7. Double-click on the line just created
  8. In the dialogue, set your proximity to "At least 50 intervening" > OK
  9. Click on the Search icon at the top left > When the Advanced Search dialogue box opens, make sure you are using Nestle-Aland 27 with Gramcord; select to search By: Special and choose Sentence; limit your range to a Bible Text, and type in a single book (in this case, Mark) >> Hit Search
  10. On my older PentiumM, 1.86Ghz with 2Gb RAM WinXP system, the search took about 2 minutes to run
FWIW, after I worked on this method MVGH posted another article with a workable Logos solution developed by Logos' own Vincent Setterholm. It uses the mysterious (to me anyway) "filter object" and the results are less than accessible:
Do not be dismayed if it looks like you only get one hit! Click on "Concordance at the top right of the box, then sort "By reference." The verses listed indicate the end of a sentence just prior to a sentence with 50+ words. (Note Vincent's observation above about 'words' in in the graphical query editor. I.e., there will be some sentences with less than 50 words.)
Now click on one of the references to open up the NA27 text.You will have to scan through the results, but note that there are colored markers to indicate the major stop before a long sentence and a different colored marker at the end of the sentence. (emphasis added)
My method described above avoids all of these problems except for the "word" count problem inherent in Logos. MVGH also highlighted the way that Logos handles the semi-colon, which will affect the results returned.


Post a Comment