eliranwong / UniqueBible

A cross-platform bible application, integrated with high-quality resources and amazing features, running offline in Windows, macOS and Linux, ChromeOS, Android, iOS. Various running modes are supported.
https://UniqueBible.app
GNU General Public License v3.0
121 stars 34 forks source link

Searching for Strongs number translated as a Greek/Hebrew word #770

Closed darrelwright closed 2 years ago

darrelwright commented 2 years ago

You had asked me to post an issue on this back in February, and I don't know if I ever did. Please let me know if this has been done. Thanks!

I am wanting to use UBA as my primary electronic bible. I come from having used theWord bible for over ten years. One of the main features I need a bible program to do is allow me to search for a Strongs number where is translated as a particular word. For example in theWord I enter the search phrase G746 TR αρχη and it returns 12 verses containing G746 translated as αρχη. How do I do that in UBA?

otseng commented 2 years ago

I added a plugin menu called "Search for word with Strongs". Install that and open your TRx bible. Enter "αρχη G746" in the search.

darrelwright commented 2 years ago

That works great as long as I don't use a bible that accents like "ἀρχῇ" from TRi or MIB. Using TRx and unaccented words it plays nicely.

Can I do similar search in OT?

On 8/31/21 6:36 PM, Oliver Tseng wrote:

I added a plugin menu called "Search for word with Strongs". Install that and open your TRx bible. Enter "αρχη G746" in the search.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/eliranwong/UniqueBible/issues/770#issuecomment-909790998, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACXXZXDCA42BT7P2W53DIMTT7V7R5ANCNFSM5DE3G6LA. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

otseng commented 2 years ago

Should be able to. But I haven't tried it.

darrelwright commented 2 years ago

It appears to work with Greek bibles, such as ABP+, but am having trouble with Hebrew.

On 8/31/21 7:01 PM, Oliver Tseng wrote:

Should be able to. But I haven't tried it.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/eliranwong/UniqueBible/issues/770#issuecomment-909802086, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACXXZXGNL3P4MTV5S4QWHBLT7WCORANCNFSM5DE3G6LA. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

darrelwright commented 2 years ago

It does work but a bit of chore with getting the strong's number on correct side of Hebrew word. this did work: לאור.*H216 - well the string I entered actually is reversed with Hebrew showing on the right side.

On 8/31/21 7:01 PM, Oliver Tseng wrote:

Should be able to. But I haven't tried it.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/eliranwong/UniqueBible/issues/770#issuecomment-909802086, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACXXZXGNL3P4MTV5S4QWHBLT7WCORANCNFSM5DE3G6LA. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

otseng commented 2 years ago

I'll create another version so can enter the Greek/Hebrew word and the Strongs in two separate input fields.

darrelwright commented 2 years ago

Great! And thanks.

otseng commented 2 years ago

I've updated the plugin. Delete the 'Search for word with Strongs.py` file. Reinstall it, then restart UBA.

Or you can download it from here and unzip the file and replace it: https://github.com/eliranwong/UniqueBible_Plugins_Menu/blob/main/Search%20for%20word%20with%20Strongs.zip

darrelwright commented 2 years ago

his plugin works great - not against MIB, but TRx for Greek and HSB for Hebrew. Not sure why the MIB does not work for Hebrew.

On 9/1/21 4:33 PM, Oliver Tseng wrote:

I've updated the plugin. Delete the 'Search for word with Strongs.py` file. Reinstall it, then restart UBA.

Or you can download it from here and unzip the file and replace it: https://github.com/eliranwong/UniqueBible_Plugins_Menu/blob/main/Search%20for%20word%20with%20Strongs.zip https://github.com/eliranwong/UniqueBible_Plugins_Menu/blob/main/Search%20for%20word%20with%20Strongs.zip

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/eliranwong/UniqueBible/issues/770#issuecomment-910897212, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACXXZXFVKWF3EW37Y3BSZO3T72Z33ANCNFSM5DE3G6LA. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

otseng commented 2 years ago

MIB actually does not contain Strongs number in the verses table.

darrelwright commented 2 years ago

Gotcha.

I do like the Strongs being separated from the word. Makes it much nicer to enter Hebrew data. Good plugin.

On 9/1/21 4:59 PM, Oliver Tseng wrote:

MIB actually does not contain Strongs number in the verses table.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/eliranwong/UniqueBible/issues/770#issuecomment-910923878, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACXXZXHGHHTSGU53TAISGODT7247PANCNFSM5DE3G6LA. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

darrelwright commented 2 years ago

shortcut key?

On 9/1/21 5:05 PM, Oliver Tseng wrote:

Closed #770 https://github.com/eliranwong/UniqueBible/issues/770.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/eliranwong/UniqueBible/issues/770#event-5243310911, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACXXZXAM22UXK3V2OIJE64LT725TLANCNFSM5DE3G6LA. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

otseng commented 2 years ago

Just rename the file and add whatever shortcut key you want. So, for example, you can name it Search for word with Strongs_Ctrl+Shift+1.py

darrelwright commented 2 years ago

Okay, I can do that.

I am having an issue. I have the bible in one tab set to Interlinear-Gen 6:4 and the next tab is MIB-Gen 6:4. The active tab is Interlinear, and when I pull the plugin and enter H5303 and  it returns REGEXSEARCH:::MIB:::\bהנפלים\b.*\bH5303\b, but it should be pulling from the Interlinear and not MIB. So either that needs fixing or we need a dropdown on the plugin to allowing selecting bible to search?

On 9/1/21 5:16 PM, Oliver Tseng wrote:

Just rename the file and add whatever shortcut key you want. So, for example, you can name it |Search for word with Strongs_Ctrl+Shift+1.py|

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/eliranwong/UniqueBible/issues/770#issuecomment-910938115, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACXXZXBY4SOBEQLB4O7V22LT72665ANCNFSM5DE3G6LA. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

otseng commented 2 years ago

Can you create a separate issue to add a Bible dropdown to the search?