You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: samples/corpora.ipynb
+36-1Lines changed: 36 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -328,7 +328,7 @@
328
328
},
329
329
{
330
330
"cell_type": "code",
331
-
"execution_count": 10,
331
+
"execution_count": 1,
332
332
"metadata": {},
333
333
"outputs": [],
334
334
"source": [
@@ -371,6 +371,41 @@
371
371
" print(f\"{row.ref}: {row.text}\")"
372
372
]
373
373
},
374
+
{
375
+
"cell_type": "markdown",
376
+
"metadata": {},
377
+
"source": [
378
+
"We can extract non-Scripture portions of the project as well, such as introductory material, footnotes, section headers, etc. This feature is enabled by setting the `include_all_text` flag. Machine uses a special Scripture reference for uniquely indentifying all text segments in a Scripture book. Each text segment is referenced by its position relative to a verse and its marker."
379
+
]
380
+
},
381
+
{
382
+
"cell_type": "code",
383
+
"execution_count": 2,
384
+
"metadata": {},
385
+
"outputs": [
386
+
{
387
+
"name": "stdout",
388
+
"output_type": "stream",
389
+
"text": [
390
+
"1JN 1:0/1:ide: UTF-8\n",
391
+
"1JN 1:0/2:h: 1 John\n",
392
+
"1JN 1:0/3:toc1: John’s First Letter\n",
393
+
"1JN 1:0/4:toc2: 1 John\n",
394
+
"1JN 1:0/5:toc3: 1 John\n",
395
+
"1JN 1:0/6:mt1: John’s First Letter\n",
396
+
"1JN 1:1: That which was from the beginning, that which we have heard, that which we have seen with our eyes, that which we saw, and our hands touched, concerning the Word of life\n",
397
+
"1JN 1:2: (and the life was revealed, and we have seen, and testify, and declare to you the life, the eternal life, which was with the Father, and was revealed to us);\n",
398
+
"1JN 1:3: that which we have seen and heard we declare to you, that you also may have fellowship with us. Yes, and our fellowship is with the Father and with his Son, Jesus Christ.\n",
399
+
"1JN 1:3/1:f: 1:3 “Christ” means “Anointed One”.\n"
0 commit comments