[www.theword.net]

Twitter live feed  
View unanswered posts | View active topics It is currently Thu Mar 04, 2021 8:31 am



Reply to topic  [ 5 posts ] 
 TR command 
Author Message

Joined: Fri Sep 11, 2009 12:04 am
Posts: 1186
Location: Klamath Falls, Oregon
Post TR command
LOGOS has a function called "INTERSECT" that allows you to return search results where the left and right expressions intersect.

I am seeing if I can use the TR function to do what the INTERSECT function does. The syntax of the TR function says "expression 1 TR expression 2". I am a little confused. It says expression 1 should be a Strongs number, but that it can be any valid expression. So I can use "H2470 TR (ill*|disease|sickness)" and it returns 19 verses from the BSBRevINT.

I can do a lemma search using "m/חָלָה@*" which returns 84 verses, so it seems like I should be to do a "(m/חָלָה@*) TR (ill*|disease|sickness)" and have the search done using the lemma rather than the strong's number, but it doesn't return any results. Am I misunderstanding something?

Darrel


Tue Jan 12, 2021 10:21 am
Profile WWW
User avatar

Joined: Wed Jun 04, 2008 7:34 pm
Posts: 4144
Post Re: TR command
The hint on this search in theWord seems to indicate it only works with Strong's numbers.

Attachment:
0002 Jon theWord_2021-01-12_091043.jpg
0002 Jon theWord_2021-01-12_091043.jpg [ 131.76 KiB | Viewed 143 times ]

_________________
Jon
the
Word 5 Bible Software
OS for testing; Windows 10
Beta Download ------Beta Setup Guide------On-line Manual------Tech doc's and Utilities------Copyright Factsheet


Tue Jan 12, 2021 11:06 am
Profile

Joined: Fri Sep 11, 2009 12:04 am
Posts: 1186
Location: Klamath Falls, Oregon
Post Re: TR command
Hi Jon,
That is what I was thinking. It's just that the manual was, to me, implying that both expression 1 and 2 could also be any valid expression. I am trying to implement a query finding all the places in scripture where God struck someone down with a sickness. To do this I am attempting to rework a solution in LOGOS that uses the INTERSECT function. Thanks Jon.

Darrel


Tue Jan 12, 2021 11:28 am
Profile WWW
User avatar

Joined: Wed Jun 04, 2008 7:34 pm
Posts: 4144
Post Re: TR command
I am only guessing at this point what was intended by the manual

TR - used to perform searches on Strong's Numbers and their translations. To the left of the operator should be a Strong's Number (H2345, G354) or any other valid expression, and to the right should be an expression to search to see if the given Strong's Number is translated as such. "TR" means "translated" and this is how this operator functions. It can also be combined with other operators to perform different functions. See examples. The greater-than sign (>) can also be used instead of this operator.

Perhaps it was meaning multiple Strong's or as the example using some other operator like NOT

_________________
Jon
the
Word 5 Bible Software
OS for testing; Windows 10
Beta Download ------Beta Setup Guide------On-line Manual------Tech doc's and Utilities------Copyright Factsheet


Tue Jan 12, 2021 11:51 am
Profile

Joined: Fri Sep 11, 2009 12:04 am
Posts: 1186
Location: Klamath Falls, Oregon
Post Re: TR command
Yeah, that is true. These commands, even if not doing what I "think" they should do, are very powerful. And as I have found so many times, it usually requires modifying and/or changing my concept of how to do something. I think the TR function will give what I want, but I just need to rewire my thinking on how to put this query together. Thanks!

Darrel


Tue Jan 12, 2021 12:02 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 5 posts ] 

Who is online

Users browsing this forum: No registered users and 3 guests


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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 1.548s | 13 Queries | GZIP : Off ]