Published

October 21, 2024

BDB combined with Strong

Summary

Use the bdbplus function to retrieve articles from BDB together with data from Strong’s Concordance

Combine articles in BDB with data from Strong

Find articles in BDB that Sefaria indexes a Hebrew word to, and join a list of records from Strong’s Concordance. The result is a Vector of BDBpluss.

using BrownDriverBriggs 
plusentries = bdbplus("בָּרָ֣א")
6-element Vector{BDBplus}:
 בַּר (BDB01437) plus 4 Strong entries
 בַּר² (BDB01438) plus 4 Strong entries
 בָּרָא (BDB01439) plus 1 Strong entry
 בָּרָא² (BDB01442) plus 1 Strong entry
 בַּר³ (BDB01500) plus 4 Strong entries
 בַּר⁴ (BDB01501) plus 4 Strong entries
typeof(plusentries)
Vector{BDBplus} (alias for Array{BDBplus, 1})

The BDB articles are the same ones you would find if you used the bdb function with a token: you can also used bdb to extract the articles from a BDBplus object.

bdb.(plusentries)
6-element Vector{Article}:
 בַּר (BDB01437)
 בַּר² (BDB01438)
 בָּרָא (BDB01439)
 בָּרָא² (BDB01442)
 בַּר³ (BDB01500)
 בַּר⁴ (BDB01501)

Similarly, the bdbid function extracts the ID for the BDB article. You can easily prove that the two lists have identical IDs:

bdbid.(plusentries) == id.(bdb("בָּרָ֣א"))
true