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
Let’s separate out those BDB articles that Strong identifies as verb forms. For each entry in plusentries, we therefore want to see if it has a part of speech value of v in any of its associated Strong record.
verbarticles =filter(plusentries) do plusentry strongs =strong(plusentry) !isempty(filter(st ->pos(st) =="v", strongs))end
2-element Vector{BDBplus}:
בָּרָא (BDB01439) plus 1 Strong entry
בָּרָא² (BDB01442) plus 1 Strong entry
We can extract the BDB articles, and format them as HTML.
This is useful enough that we could wrap it up in a simple function.
"Find BDB articles for a given token that have a given part of speech code."functionposarticles(tkn, poscode) plusentries =bdbplus(tkn) posarticles =filter(plusentries) do plusentry strongs =strong(plusentry) !isempty(filter(st ->pos(st) == poscode, strongs))endbdb.(posarticles)end
Here are the results of formatting the articles as HTML strings.
First article
formatted[1] |> HTML
בָּרָא
Article BDB01439 has 4 senses
vb. shape, create (cf. Arabic بَرَى, form, fashion by cutting, shape out, pare a reed for writing, a stick for an arrow;بَرَأَ, create (loan-word); Ph. הברא CISi. 347incisor, a trade involving cutting; Assyrian barû, make, create, COTGloss & Hpt KAT2 Gloss 1 but dub.; Sab. בראfound, build, DHMZMG 1883, 413, synon. בנה; BaZA 1888, 58, comp. Assyrian banû, create, beget, with change of liquid; Aramaic בְּרָא, ܒܪܳܐ, create)—
Qal
Pf. Gn 1:1 + 19 times; Impf. יִבְרָאGn 1:21, 27Nu 16:30; Inf. בְּרֹאGn 5:1; Imv. בְּרָאψ 51:12; Pt. בּוֹרֵאIs 42:5 + 10 times; sf. בֹּרַאֲךָIs 43:1; בּוֹרְאֶיךָEc 12:1;—shape, fashion, create, always of divine activity, with acc. rei, seldom except in P and Is 2.
1.
new conditions and circumstances: righteousness and salvation Is 45:8; darkness and evil Is 45:7; fruit of the lips Is 57:19; a new thing חֲדָשָׁה (a woman encompassing a man) Je 31:22; בְּרִיאָה (swallowing up the Korahites) Nu 16:30 (J); cloud and flame over Zion Is 4:5.
4.
of transformations: a clean heart ψ 51:12 (‖ חִדֵּשׁ; new heaven and earth Is 65:17 (in place of old); transformation of nature Is 41:20; with double acc. בורא ירושׁלם גילהtransform Jerusalem into rejoicingIs 65:18.
with reference to birth: במקום אשׁר נבראתin the place where thou wast created (i.e. native land) Ez 21:35; יום הבראךday when thou wast created (king of Tyre) Ez 28:13, 15 (cf. היום ילדתיךψ 2:7); עַם נִבְרָאψ 102:19 (‖ עַם נוֹלָדψ 22:32).
3.
of something new, astonishing: miracles Ex 34:10 (J); new things, חדשׁיתIs 48:6.