[www.theword.net]

Twitter live feed  
View unanswered posts | View active topics It is currently Sat Feb 24, 2018 8:05 am



Reply to topic  [ 3 posts ] 
 Searching Strong indices and operator "TRANSLATED" 
Author Message
Site Admin

Joined: Tue Aug 29, 2006 2:09 pm
Posts: 8570
Location: Corfu, Greece
Post Searching Strong indices and operator "TRANSLATED"
From version 3.0.0.619 onwards it is possible to search the strong indices on text that support this feature (e.g. KJV).

To search on a strong number just enter it, e.g. G2962 or H3231. You need to use the 'G' prefix for Greek strongs indices (new testament) and the 'H' prefix for Hebrew strong indices (old testament). The "Is this what you are looking for?" text box at the bottom of the search view will render the strong index with dark green, thus showing that the given word has been understood as a strong index (and not as any other word).

Of course, you can mix strong indices with simple words and operators at will.

A new operator has also been added that can be used with strong indices, called "TRANSLATED". The new operator can be entered either with the word "TR" or with the symbol ">". The left operant should be a strong index and the right operant can be any valid expression that is evaluated on the text segment that is used to translate the given strong index.

For example, the greek word "Κύριος" has been assigned the strong index G2962. But in english, this word is translated with the following words: Lord, Sir, Master, etc. If you want to search for all instances of the G2962 where the translated word is "Master" you can enter:
G2962 > master
or
G2962 TR master

To find the verses where the G2962 is not translated as “lord” you can enter:
G2962 > ~ lord
or
G2962 AND NOT lord

To find the verses where the word “sir” exists in a verse but G2962 is not used for it's translation you can enter:
sir & ~ (g2962 > sir)
or
sir AND NOT (G2962 TR sir)

I hope this is clear enough, if you have any more suggestions or additions please post it here,
Costas


Mon Mar 05, 2007 4:04 pm
Profile WWW

Joined: Wed Aug 30, 2006 4:02 pm
Posts: 147
Location: Siegen, Germany
Post 
Hi Costas,

these are really great functions!

Two things:

1. I tried to search for H6083 not translated as dust and not translated as earth. First thing I did was to type
H6083 > ~ (dust AND earth)
but that didn't work at all. Still "dust" and "earth" were found though the help window display "h6083 TRANSLATED (NOT (dust AND earth))". I found out that it worked with
H6083 > ~ dust ~ earth
Shouldn't the first search syntax work also?

2. It would be great to sort and group the search results by words. With words I mean the found words behind a strong number. Right now the results are sorted by biblebook (with count/percentage and graph) and to have this for the translated words of a strong number would be really helpful. Is that difficult to implement?

Greetings and thanks for the new beta!
Johannes


Mon Mar 05, 2007 5:23 pm
Profile WWW
Site Admin

Joined: Tue Aug 29, 2006 2:09 pm
Posts: 8570
Location: Corfu, Greece
Post 
Dear Johannes,
Concerning point 1:
what you got was correct. Let me explain (this will help more with the logic):

The H6083 > ~ (dust AND earth) makes the search engine do the following:
a. Find all the verses that contain the H6083
b. Find all the text fragments that are translated with the H6083. For example, Lev. 14:45 translates this with the phrase "thereof, and all the morter". Gen. 2:7 translates this as "of the dust".
c. Now, apply the expression on the right hand of the "TRANSLATED" operator to these 2 text fragments (notice, the right part of the TRANSLATED operator will be attemped to match the expression ~ (dust AND earth)).
d. Notice that for Gen. 2:7 the search engine will try to check whether the "~ (dust AND earth)" expression matches with the phrase "of the dust". Obviously, the expression matches (the expression in english reads: "i want those phrases where the words "dust" and "earth" are not found at the same time". So, the "of the dust" phrase does match your expression since these 2 words are not there at the same time.

Actually, what you should have entered is H6083 > NOT (dust OR earth). The same expression can be written: H6083 > (NOT dust) AND (NOT earth). Your second attempt with H6083 > ~ dust ~ earth does exactly this (although there is an operator missing between the ~dust and the ~earth, and TW assumed you mean "AND". This is why it works.

Concerning point 2:
it is a bit difficult to express it in a list: what i am thinking is to have another column in the search result (next to graph) which will be a list with all the words that have been found in this verse (this is also how highlighting works there). The problem here is that this information takes a significant amount of time to produce for all results and will have a negative impact in the cases that there are many search results (in order to sort the list, all matches will need to be evaluated which takes a lot of time).
Wrote that down in the to-do list but i am not sure how to do it without affecting the overall speed

Costas


Mon Mar 05, 2007 5:44 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.