{ "cells": [ { "cell_type": "code", "execution_count": 1, "id": "a9b3b3db-b82a-41da-971e-a10c51b61b0d", "metadata": {}, "outputs": [], "source": [ "%load_ext autoreload\n", "%autoreload 2" ] }, { "cell_type": "code", "execution_count": 2, "id": "18f23ba6-2e6f-4bc0-82bb-1d4a15f648be", "metadata": {}, "outputs": [], "source": [ "from tf.app import use" ] }, { "cell_type": "code", "execution_count": 3, "id": "687d8bfe-5230-45a6-a780-c6ed6b7adf21", "metadata": {}, "outputs": [ { "data": { "text/markdown": [ "**Locating corpus resources ...**" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "app: ~/github/ETCBC/bhsa/app" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "data: ~/github/ETCBC/bhsa/tf/2021" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "data: ~/github/ETCBC/phono/tf/2021" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "data: ~/github/ETCBC/parallels/tf/2021" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "\n", " TF: TF API 12.1.2, ETCBC/bhsa/app v3, Search Reference
\n", " Data: ETCBC - bhsa 2021, Character table, Feature docs
\n", "
Node types\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "
Name# of nodes# slots / node% coverage
book3910938.21100
chapter929459.19100
lex923046.22100
verse2321318.38100
half_verse451799.44100
sentence637176.70100
sentence_atom645146.61100
clause881314.84100
clause_atom907044.70100
phrase2532031.68100
phrase_atom2675321.59100
subphrase1138501.4238
word4265901.00100
\n", " Sets: no custom sets
\n", " Features:
\n", "
Parallel Passages\n", "
\n", "\n", "
\n", "
\n", "crossref\n", "
\n", "
int
\n", "\n", "ย ๐Ÿ†— links between similar passages\n", "\n", "
\n", "\n", "
\n", "
\n", "\n", "
BHSA = Biblia Hebraica Stuttgartensia Amstelodamensis\n", "
\n", "\n", "
\n", "
\n", "book\n", "
\n", "
str
\n", "\n", "ย โœ… book name in Latin (Genesis; Numeri; Reges1; ...)\n", "\n", "
\n", "\n", "
\n", "
\n", "book@ll\n", "
\n", "
str
\n", "\n", "ย โœ… book name in amharic (แŠฃแˆ›แˆญแŠ›)\n", "\n", "
\n", "\n", "
\n", "
\n", "chapter\n", "
\n", "
int
\n", "\n", "ย โœ… chapter number (1; 2; 3; ...)\n", "\n", "
\n", "\n", "
\n", "
\n", "code\n", "
\n", "
int
\n", "\n", "ย โœ… identifier of a clause atom relationship (0; 74; 367; ...)\n", "\n", "
\n", "\n", "
\n", "
\n", "det\n", "
\n", "
str
\n", "\n", "ย โœ… determinedness of phrase(atom) (det; und; NA.)\n", "\n", "
\n", "\n", "
\n", "
\n", "domain\n", "
\n", "
str
\n", "\n", "ย โœ… text type of clause (? (Unknown); N (narrative); D (discursive); Q (Quotation).)\n", "\n", "
\n", "\n", "
\n", "
\n", "freq_lex\n", "
\n", "
int
\n", "\n", "ย โœ… frequency of lexemes\n", "\n", "
\n", "\n", "
\n", "
\n", "function\n", "
\n", "
str
\n", "\n", "ย โœ… syntactic function of phrase (Cmpl; Objc; Pred; ...)\n", "\n", "
\n", "\n", "
\n", "
\n", "g_cons\n", "
\n", "
str
\n", "\n", "ย โœ… word consonantal-transliterated (B R>CJT BR> >LHJM ...)\n", "\n", "
\n", "\n", "
\n", "
\n", "g_cons_utf8\n", "
\n", "
str
\n", "\n", "ย โœ… word consonantal-Hebrew (ื‘ ืจืืฉืื™ืช ื‘ืจื ืืœื”ื™ื)\n", "\n", "
\n", "\n", "
\n", "
\n", "g_lex\n", "
\n", "
str
\n", "\n", "ย โœ… lexeme pointed-transliterated (B.:- R;>CIJT B.@R@> >:ELOH ...)\n", "\n", "
\n", "\n", "
\n", "
\n", "g_lex_utf8\n", "
\n", "
str
\n", "\n", "ย โœ… lexeme pointed-Hebrew (ื‘ึฐึผ ืจึตืืฉึดืื™ืช ื‘ึธึผืจึธื ืึฑืœึนื”)\n", "\n", "
\n", "\n", "
\n", "
\n", "g_word\n", "
\n", "
str
\n", "\n", "ย โœ… word pointed-transliterated (B.:- R;>CI73JT B.@R@74> >:ELOHI92JM)\n", "\n", "
\n", "\n", "
\n", "
\n", "g_word_utf8\n", "
\n", "
str
\n", "\n", "ย โœ… word pointed-Hebrew (ื‘ึผึฐ ืจึตืืฉืึดึ–ื™ืช ื‘ึผึธืจึธึฃื ืึฑืœึนื”ึดึ‘ื™ื)\n", "\n", "
\n", "\n", "
\n", "
\n", "gloss\n", "
\n", "
str
\n", "\n", "ย ๐Ÿ†— english translation of lexeme (beginning create god(s))\n", "\n", "
\n", "\n", "
\n", "
\n", "gn\n", "
\n", "
str
\n", "\n", "ย โœ… grammatical gender (m; f; NA; unknown.)\n", "\n", "
\n", "\n", "
\n", "
\n", "label\n", "
\n", "
str
\n", "\n", "ย โœ… (half-)verse label (half verses: A; B; C; verses: GEN 01,02)\n", "\n", "
\n", "\n", "
\n", "
\n", "language\n", "
\n", "
str
\n", "\n", "ย โœ… of word or lexeme (Hebrew; Aramaic.)\n", "\n", "
\n", "\n", "
\n", "
\n", "lex\n", "
\n", "
str
\n", "\n", "ย โœ… lexeme consonantal-transliterated (B R>CJT/ BR>[ >LHJM/)\n", "\n", "
\n", "\n", "
\n", "
\n", "lex_utf8\n", "
\n", "
str
\n", "\n", "ย โœ… lexeme consonantal-Hebrew (ื‘ ืจืืฉืื™ืชึœ ื‘ืจื ืืœื”ื™ืึœ)\n", "\n", "
\n", "\n", "
\n", "
\n", "ls\n", "
\n", "
str
\n", "\n", "ย โœ… lexical set, subclassification of part-of-speech (card; ques; mult)\n", "\n", "
\n", "\n", "
\n", "
\n", "nametype\n", "
\n", "
str
\n", "\n", "ย โš ๏ธ named entity type (pers; mens; gens; topo; ppde.)\n", "\n", "
\n", "\n", "
\n", "
\n", "nme\n", "
\n", "
str
\n", "\n", "ย โœ… nominal ending consonantal-transliterated (absent; n/a; JM, ...)\n", "\n", "
\n", "\n", "
\n", "
\n", "nu\n", "
\n", "
str
\n", "\n", "ย โœ… grammatical number (sg; du; pl; NA; unknown.)\n", "\n", "
\n", "\n", "
\n", "
\n", "number\n", "
\n", "
int
\n", "\n", "ย โœ… sequence number of an object within its context\n", "\n", "
\n", "\n", "
\n", "
\n", "otype\n", "
\n", "
str
\n", "\n", "ย \n", "\n", "
\n", "\n", "
\n", "
\n", "pargr\n", "
\n", "
str
\n", "\n", "ย ๐Ÿ†— hierarchical paragraph number (1; 1.2; 1.2.3.4; ...)\n", "\n", "
\n", "\n", "
\n", "
\n", "pdp\n", "
\n", "
str
\n", "\n", "ย โœ… phrase dependent part-of-speech (art; verb; subs; nmpr, ...)\n", "\n", "
\n", "\n", "
\n", "
\n", "pfm\n", "
\n", "
str
\n", "\n", "ย โœ… preformative consonantal-transliterated (absent; n/a; J, ...)\n", "\n", "
\n", "\n", "
\n", "
\n", "prs\n", "
\n", "
str
\n", "\n", "ย โœ… pronominal suffix consonantal-transliterated (absent; n/a; W; ...)\n", "\n", "
\n", "\n", "
\n", "
\n", "prs_gn\n", "
\n", "
str
\n", "\n", "ย โœ… pronominal suffix gender (m; f; NA; unknown.)\n", "\n", "
\n", "\n", "
\n", "
\n", "prs_nu\n", "
\n", "
str
\n", "\n", "ย โœ… pronominal suffix number (sg; du; pl; NA; unknown.)\n", "\n", "
\n", "\n", "
\n", "
\n", "prs_ps\n", "
\n", "
str
\n", "\n", "ย โœ… pronominal suffix person (p1; p2; p3; NA; unknown.)\n", "\n", "
\n", "\n", "
\n", "
\n", "ps\n", "
\n", "
str
\n", "\n", "ย โœ… grammatical person (p1; p2; p3; NA; unknown.)\n", "\n", "
\n", "\n", "
\n", "
\n", "qere\n", "
\n", "
str
\n", "\n", "ย โœ… word pointed-transliterated masoretic reading correction\n", "\n", "
\n", "\n", "
\n", "
\n", "qere_trailer\n", "
\n", "
str
\n", "\n", "ย โœ… interword material -pointed-transliterated (Masoretic correction)\n", "\n", "
\n", "\n", "
\n", "
\n", "qere_trailer_utf8\n", "
\n", "
str
\n", "\n", "ย โœ… interword material -pointed-transliterated (Masoretic correction)\n", "\n", "
\n", "\n", "
\n", "
\n", "qere_utf8\n", "
\n", "
str
\n", "\n", "ย โœ… word pointed-Hebrew masoretic reading correction\n", "\n", "
\n", "\n", "
\n", "
\n", "rank_lex\n", "
\n", "
int
\n", "\n", "ย โœ… ranking of lexemes based on freqnuecy\n", "\n", "
\n", "\n", "
\n", "
\n", "rela\n", "
\n", "
str
\n", "\n", "ย โœ… linguistic relation between clause/(sub)phrase(atom) (ADJ; MOD; ATR; ...)\n", "\n", "
\n", "\n", "
\n", "
\n", "sp\n", "
\n", "
str
\n", "\n", "ย โœ… part-of-speech (art; verb; subs; nmpr, ...)\n", "\n", "
\n", "\n", "
\n", "
\n", "st\n", "
\n", "
str
\n", "\n", "ย โœ… state of a noun (a (absolute); c (construct); e (emphatic).)\n", "\n", "
\n", "\n", "
\n", "
\n", "tab\n", "
\n", "
int
\n", "\n", "ย โœ… clause atom: its level in the linguistic embedding\n", "\n", "
\n", "\n", "
\n", "
\n", "trailer\n", "
\n", "
str
\n", "\n", "ย โœ… interword material pointed-transliterated (& 00 05 00_P ...)\n", "\n", "
\n", "\n", "
\n", "
\n", "trailer_utf8\n", "
\n", "
str
\n", "\n", "ย โœ… interword material pointed-Hebrew (ึพ ืƒ)\n", "\n", "
\n", "\n", "
\n", "
\n", "txt\n", "
\n", "
str
\n", "\n", "ย โœ… text type of clause and surrounding (repetion of ? N D Q as in feature domain)\n", "\n", "
\n", "\n", "
\n", "
\n", "typ\n", "
\n", "
str
\n", "\n", "ย โœ… clause/phrase(atom) type (VP; NP; Ellp; Ptcp; WayX)\n", "\n", "
\n", "\n", "
\n", "
\n", "uvf\n", "
\n", "
str
\n", "\n", "ย โœ… univalent final consonant consonantal-transliterated (absent; N; J; ...)\n", "\n", "
\n", "\n", "
\n", "
\n", "vbe\n", "
\n", "
str
\n", "\n", "ย โœ… verbal ending consonantal-transliterated (n/a; W; ...)\n", "\n", "
\n", "\n", "
\n", "
\n", "vbs\n", "
\n", "
str
\n", "\n", "ย โœ… root formation consonantal-transliterated (absent; n/a; H; ...)\n", "\n", "
\n", "\n", "
\n", "
\n", "verse\n", "
\n", "
int
\n", "\n", "ย โœ… verse number\n", "\n", "
\n", "\n", "
\n", "
\n", "voc_lex\n", "
\n", "
str
\n", "\n", "ย โœ… vocalized lexeme pointed-transliterated (B.: R;>CIJT BR> >:ELOHIJM)\n", "\n", "
\n", "\n", "
\n", "
\n", "voc_lex_utf8\n", "
\n", "
str
\n", "\n", "ย โœ… vocalized lexeme pointed-Hebrew (ื‘ึผึฐ ืจึตืืฉืึดื™ืช ื‘ืจื ืึฑืœึนื”ึดื™ื)\n", "\n", "
\n", "\n", "
\n", "
\n", "vs\n", "
\n", "
str
\n", "\n", "ย โœ… verbal stem (qal; piel; hif; apel; pael)\n", "\n", "
\n", "\n", "
\n", "
\n", "vt\n", "
\n", "
str
\n", "\n", "ย โœ… verbal tense (perf; impv; wayq; infc)\n", "\n", "
\n", "\n", "
\n", "
\n", "mother\n", "
\n", "
none
\n", "\n", "ย โœ… linguistic dependency between textual objects\n", "\n", "
\n", "\n", "
\n", "
\n", "oslots\n", "
\n", "
none
\n", "\n", "ย \n", "\n", "
\n", "\n", "
\n", "
\n", "\n", "
Phonetic Transcriptions\n", "
\n", "\n", "
\n", "
\n", "phono\n", "
\n", "
str
\n", "\n", "ย ๐Ÿ†— phonological transcription (bแตŠ rฤ“ลกหŒรฎแนฏ bฤrหˆฤ ส”แต‰lลhหˆรฎm)\n", "\n", "
\n", "\n", "
\n", "
\n", "phono_trailer\n", "
\n", "
str
\n", "\n", "ย ๐Ÿ†— interword material in phonological transcription\n", "\n", "
\n", "\n", "
\n", "
\n", "\n", " Settings:
specified
  1. apiVersion: 3
  2. appName: ETCBC/bhsa
  3. appPath: /Users/me/github/ETCBC/bhsa/app
  4. commit: no value
  5. css: ''
  6. dataDisplay:
    • exampleSectionHtml:<code>Genesis 1:1</code> (use <a href=\"https://github.com/{org}/{repo}/blob/master/tf/{version}/book%40en.tf\" target=\"_blank\">English book names</a>)
    • excludedFeatures:
      • g_uvf_utf8
      • g_vbs
      • kq_hybrid
      • languageISO
      • g_nme
      • lex0
      • is_root
      • g_vbs_utf8
      • g_uvf
      • dist
      • root
      • suffix_person
      • g_vbe
      • dist_unit
      • suffix_number
      • distributional_parent
      • kq_hybrid_utf8
      • crossrefSET
      • instruction
      • g_prs
      • lexeme_count
      • rank_occ
      • g_pfm_utf8
      • freq_occ
      • crossrefLCS
      • functional_parent
      • g_pfm
      • g_nme_utf8
      • g_vbe_utf8
      • kind
      • g_prs_utf8
      • suffix_gender
      • mother_object_type
    • noneValues:
      • absent
      • n/a
      • none
      • unknown
      • no value
      • NA
  7. docs:
    • docBase: {docRoot}/{repo}
    • docExt: ''
    • docPage: ''
    • docRoot: https://{org}.github.io
    • featurePage: 0_home
  8. interfaceDefaults: {}
  9. isCompatible: True
  10. local: clone
  11. localDir: /Users/me/github/ETCBC/bhsa/_temp
  12. provenanceSpec:
    • corpus: BHSA = Biblia Hebraica Stuttgartensia Amstelodamensis
    • doi: 10.5281/zenodo.1007624
    • extraData: ner
    • moduleSpecs:
      • :
        • backend: no value
        • corpus: Phonetic Transcriptions
        • docUrl:https://nbviewer.jupyter.org/github/etcbc/phono/blob/master/programs/phono.ipynb
        • doi: 10.5281/zenodo.1007636
        • org: ETCBC
        • relative: /tf
        • repo: phono
      • :
        • backend: no value
        • corpus: Parallel Passages
        • docUrl:https://nbviewer.jupyter.org/github/ETCBC/parallels/blob/master/programs/parallels.ipynb
        • doi: 10.5281/zenodo.1007642
        • org: ETCBC
        • relative: /tf
        • repo: parallels
    • org: ETCBC
    • relative: /tf
    • repo: bhsa
    • version: 2021
    • webBase: https://shebanq.ancient-data.org/hebrew
    • webHint: Show this on SHEBANQ
    • webLang: la
    • webLexId: True
    • webUrl:{webBase}/text?book=<1>&chapter=<2>&verse=<3>&version={version}&mr=m&qw=q&tp=txt_p&tr=hb&wget=v&qget=v&nget=vt
    • webUrlLex: {webBase}/word?version={version}&id=<lid>
  13. release: no value
  14. typeDisplay:
    • clause:
      • label: {typ} {rela}
      • style: ''
    • clause_atom:
      • hidden: True
      • label: {code}
      • level: 1
      • style: ''
    • half_verse:
      • hidden: True
      • label: {label}
      • style: ''
      • verselike: True
    • lex:
      • featuresBare: gloss
      • label: {voc_lex_utf8}
      • lexOcc: word
      • style: orig
      • template: {voc_lex_utf8}
    • phrase:
      • label: {typ} {function}
      • style: ''
    • phrase_atom:
      • hidden: True
      • label: {typ} {rela}
      • level: 1
      • style: ''
    • sentence:
      • label: {number}
      • style: ''
    • sentence_atom:
      • hidden: True
      • label: {number}
      • level: 1
      • style: ''
    • subphrase:
      • hidden: True
      • label: {number}
      • style: ''
    • word:
      • features: pdp vs vt
      • featuresBare: lex:gloss
  15. writing: hbo
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "\n", "\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "A = use(\"ETCBC/bhsa:clone\", checkout=\"clone\")" ] }, { "cell_type": "markdown", "id": "27588884-214a-4f9e-97bd-8f19c94bf761", "metadata": {}, "source": [ "Before we start, we make a test instruction set.\n", "\n", "We pick up all words whose lexeme starts with `BJT_` and that have multiple occurrence forms.\n", "We collect the occurrence forms and use them to populate a spreadsheet with instructions.\n", "\n", "See the file `ner/sheets/places.xlsx`" ] }, { "cell_type": "code", "execution_count": 4, "id": "57a2402f-0393-4c4c-95d0-9bcd78b02784", "metadata": {}, "outputs": [], "source": [ "F = A.api.F" ] }, { "cell_type": "code", "execution_count": 5, "id": "ea51d056-6b58-421c-9378-cbeda297e219", "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "BJT_C>N/\n", "\tBJT_C>N ; BJT_CN\n", "BJT_DGWN/\n", "\tBJT_DGN ; BJT_DGWN\n", "BJT_HJCMWT/\n", "\tBJT_HJCJMT ; BJT_HJCMT ; BJT_HJCMWT\n", "BJT_XWRWN/\n", "\tBJT_XRWN ; BJT_XWRN ; BJT_XRN ; BJT_XWRWN\n", "ื‘ื™ืช ื“ื’ื•ืŸ\n", "\tื‘ื™ืช_ื“ื’ื•ืŸ ; ื‘ื™ืช_ื“ื’ืŸ\n", "ื‘ื™ืช ื”ื™ืฉืืžื•ืช\n", "\tื‘ื™ืช_ื”ื™ืฉืืžื•ืช ; ื‘ื™ืช_ื”ื™ืฉืื™ืžืช ; ื‘ื™ืช_ื”ื™ืฉืืžืช\n", "ื‘ื™ืช ื—ื•ืจื•ืŸ\n", "\tื‘ื™ืช_ื—ื•ืจื•ืŸ ; ื‘ื™ืช_ื—ื•ืจืŸ ; ื‘ื™ืช_ื—ืจืŸ ; ื‘ื™ืช_ื—ืจื•ืŸ\n", "ื‘ื™ืช ืฉืืืŸ\n", "\tื‘ื™ืช_ืฉืืืŸ ; ื‘ื™ืช_ืฉืืŸ\n" ] } ], "source": [ "candidates = {}\n", "candidates_utf8 = {}\n", "\n", "for w in F.otype.s(\"word\"):\n", " lex = F.lex.v(w)\n", " if not lex.startswith(\"BJT_\"):\n", " continue\n", " lex_utf8 = F.lex_utf8.v(w)\n", " candidates.setdefault(lex, set()).add(F.g_cons.v(w))\n", " candidates_utf8.setdefault(lex_utf8, set()).add(F.g_cons_utf8.v(w))\n", "\n", "multiples = {lex: shapes for (lex, shapes) in candidates.items() if len(shapes) > 1}\n", "multiples_utf8 = {lex: shapes for (lex, shapes) in candidates_utf8.items() if len(shapes) > 1}\n", "\n", "def show(d):\n", " for (k, vs) in sorted(d.items()):\n", " print(k)\n", " print(\"\\t\" + (\" ; \".join(v.replace(\" \", \"_\") for v in vs)))\n", " \n", "show(multiples)\n", "show(multiples_utf8)" ] }, { "cell_type": "markdown", "id": "82c5e3e7-e85c-4f1e-b04d-0b3609b17d3a", "metadata": {}, "source": [ "Now we start with the entity assignment." ] }, { "cell_type": "code", "execution_count": 6, "id": "a926c57d-5629-4df4-8bae-5ca1943b85a0", "metadata": {}, "outputs": [ { "data": { "text/html": [ "" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "NE = A.makeNer()" ] }, { "cell_type": "code", "execution_count": 8, "id": "212271a6-43e4-4a7c-a14c-c704276ec46c", "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "4 entities with 11 occurrence specs\n", "0 entities do not have occurrence specifiers\n", "All occurrence specifiers are unambiguous\n" ] } ], "source": [ "NE.readInstructions(\"places\", force=True)" ] }, { "cell_type": "code", "execution_count": 9, "id": "34fc2acf-26c7-4654-97a3-1fee7ffaf43e", "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "ื‘ื™ืช.ื“ื’ื•ืŸ LOC ื‘ื™ืช_ื“ื’ื•ืŸ 1 x ื‘ื™ืช ื“ื’ื•ืŸ\n", "ื‘ื™ืช.ื“ื’ื•ืŸ LOC ื‘ื™ืช_ื“ื’ืŸ 1 x ื‘ื™ืช ื“ื’ื•ืŸ\n", "ื‘ื™ืช.ื—ื•ืจื•ืŸ LOC ื‘ื™ืช_ื—ื•ืจื•ืŸ 5 x ื‘ื™ืช ื—ื•ืจื•ืŸ\n", "ื‘ื™ืช.ื—ื•ืจื•ืŸ LOC ื‘ื™ืช_ื—ื•ืจืŸ 5 x ื‘ื™ืช ื—ื•ืจื•ืŸ\n", "ื‘ื™ืช.ื—ื•ืจื•ืŸ LOC ื‘ื™ืช_ื—ืจื•ืŸ 3 x ื‘ื™ืช ื—ื•ืจื•ืŸ\n", "ื‘ื™ืช.ื—ื•ืจื•ืŸ LOC ื‘ื™ืช_ื—ืจืŸ 1 x ื‘ื™ืช ื—ื•ืจื•ืŸ\n", "Total 16\n" ] } ], "source": [ "NE.makeInventory()\n", "NE.showInventory()" ] }, { "cell_type": "code", "execution_count": 10, "id": "2e64c920-6070-4aa2-998d-922d54fb8d1d", "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "Annotation set power has 16 annotations\n" ] } ], "source": [ "NE.setSet(\"power\")" ] }, { "cell_type": "code", "execution_count": 11, "id": "732e3a3b-260a-4f62-80f7-1f1e71231848", "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "Annotation set power has 0 annotations\n" ] } ], "source": [ "NE.resetSet()" ] }, { "cell_type": "code", "execution_count": 12, "id": "0d212ee5-7f9c-42d6-9a4b-3d833a6e3de4", "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "Already present: 0 x\n", "Added: 16 x\n" ] } ], "source": [ "NE.markEntities()" ] }, { "cell_type": "code", "execution_count": 14, "id": "e9c21131-2683-4362-a106-9851dfa8c22c", "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "15 verses\n" ] } ], "source": [ "results = NE.filterContent(anyEnt=True, showStats=None)" ] }, { "cell_type": "code", "execution_count": 15, "id": "962d6d62-48f2-40d5-8283-9ce9e7784bfc", "metadata": {}, "outputs": [ { "data": { "text/html": [ "
Joshua 10:10ย ื•ื™ื”ืžื ื™ื”ื•ื” ืœืคื ื™ ื™ืฉื‚ืจืืœ ื•ื™ื›ื ืžื›ื”ึพื’ื“ื•ืœื” ื‘ื’ื‘ืขื•ืŸ ื•ื™ืจื“ืคื ื“ืจืš ืžืขืœื” 1ื‘ื™ืช.ื—ื•ืจื•ืŸ LOC 14ื‘ื™ืช ื—ื•ืจืŸ 1ื•ื™ื›ื ืขื“ึพืขื–ืงื” ื•ืขื“ึพืžืงื“ื”ืƒ
Joshua 10:11ย ื•ื™ื”ื™ ื‘ื ืกืื€ ืžืคื ื™ ื™ืฉื‚ืจืืœ ื”ื ื‘ืžื•ืจื“ 1ื‘ื™ืช.ื—ื•ืจื•ืŸ LOC 14ื‘ื™ืช ื—ื•ืจืŸ 1ื•ื™ื”ื•ื” ื”ืฉืืœื™ืš ืขืœื™ื”ื ืื‘ื ื™ื ื’ื“ืœื•ืช ืžืŸึพื”ืฉืืžื™ื ืขื“ึพืขื–ืงื” ื•ื™ืžืชื• ืจื‘ื™ื ืืฉืืจึพืžืชื• ื‘ืื‘ื ื™ ื”ื‘ืจื“ ืžืืฉืืจ ื”ืจื’ื• ื‘ื ื™ ื™ืฉื‚ืจืืœ ื‘ื—ืจื‘ืƒ ืก
Joshua 15:41ย ื•ื’ื“ืจื•ืช 1ื‘ื™ืช.ื“ื’ื•ืŸ LOC 2ื‘ื™ืช ื“ื’ื•ืŸ 1ื•ื ืขืžื” ื•ืžืงื“ื” ืขืจื™ื ืฉืืฉืึพืขืฉื‚ืจื” ื•ื—ืฆืจื™ื”ืŸืƒ ืก
Joshua 16:3ย ื•ื™ืจื“ึพื™ืžื” ืืœึพื’ื‘ื•ืœ ื”ื™ืคืœื˜ื™ ืขื“ ื’ื‘ื•ืœ 1ื‘ื™ืช.ื—ื•ืจื•ืŸ LOC 14ื‘ื™ืช ื—ื•ืจืŸ 1ืชื—ืชื•ืŸ ื•ืขื“ึพื’ื–ืจ ื•ื”ื™ื• ืชืฆืืชื• ื™ืžื”ืƒ
Joshua 16:5ย ื•ื™ื”ื™ ื’ื‘ื•ืœ ื‘ื ื™ึพืืคืจื™ื ืœืžืฉืืคื—ืชื ื•ื™ื”ื™ ื’ื‘ื•ืœ ื ื—ืœืชื ืžื–ืจื—ื” ืขื˜ืจื•ืช ืื“ืจ ืขื“ึพ1ื‘ื™ืช.ื—ื•ืจื•ืŸ LOC 14ื‘ื™ืช ื—ื•ืจืŸ 1ืขืœื™ื•ืŸืƒ
Joshua 18:13ย ื•ืขื‘ืจ ืžืฉืื ื”ื’ื‘ื•ืœ ืœื•ื–ื” ืืœึพื›ืชืฃ ืœื•ื–ื” ื ื’ื‘ื” ื”ื™ื ื‘ื™ืช ืืœ ื•ื™ืจื“ ื”ื’ื‘ื•ืœ ืขื˜ืจื•ืช ืื“ืจ ืขืœึพื”ื”ืจ ืืฉืืจ ืžื ื’ื‘ ืœ1ื‘ื™ืช.ื—ื•ืจื•ืŸ LOC 14ื‘ื™ืช ื—ืจื•ืŸ 1ืชื—ืชื•ืŸืƒ
Joshua 18:14ย ื•ืชืืจ ื”ื’ื‘ื•ืœ ื•ื ืกื‘ ืœืคืืชึพื™ื ื ื’ื‘ื” ืžืŸึพื”ื”ืจ ืืฉืืจ ืขืœึพืคื ื™ 1ื‘ื™ืช.ื—ื•ืจื•ืŸ LOC 14ื‘ื™ืช ื—ืจื•ืŸ 1ื ื’ื‘ื” ื•ื”ื™ื” ืชืฆืืชื™ื• ืืœึพืงืจื™ืช ื‘ืขืœ ื”ื™ื ืงืจื™ืช ื™ืขืจื™ื ืขื™ืจ ื‘ื ื™ ื™ื”ื•ื“ื” ื–ืืช ืคืืชึพื™ืืƒ
Joshua 19:27ย ื•ืฉืื‘ ืžื–ืจื— ื”ืฉืืžืฉื 1ื‘ื™ืช.ื“ื’ื•ืŸ LOC 2ื‘ื™ืช ื“ื’ืŸ 1ื•ืคื’ืข ื‘ื–ื‘ืœื•ืŸ ื•ื‘ื’ื™ ื™ืคืชื— ืืœ ืฆืคื•ื ื” ื‘ื™ืช ื”ืขืžืง ื•ื ืขื™ืืœ ื•ื™ืฆื ืืœึพื›ื‘ื•ืœ ืžืฉื‚ืžืืœืƒ
Joshua 21:22ย ื•ืืชึพืงื‘ืฆื™ื ื•ืืชึพืžื’ืจืฉืื” ื•ืืชึพ1ื‘ื™ืช.ื—ื•ืจื•ืŸ LOC 14ื‘ื™ืช ื—ื•ืจืŸ 1ื•ืืชึพืžื’ืจืฉืื” ืขืจื™ื ืืจื‘ืขืƒ ืก
1_Samuel 13:18ย ื•ื”ืจืืฉื ืื—ื“ ื™ืคื ื” ื“ืจืš 1ื‘ื™ืช.ื—ื•ืจื•ืŸ LOC 14ื‘ื™ืช ื—ืจื•ืŸ 1ื•ื”ืจืืฉื ืื—ื“ ื™ืคื ื” ื“ืจืš ื”ื’ื‘ื•ืœ ื”ื ืฉืืงืฃ ืขืœึพื’ื™ ื”ืฆื‘ืขื™ื ื”ืžื“ื‘ืจื”ืƒ ืก
1_Kings 9:17ย ื•ื™ื‘ืŸ ืฉืืœืžื” ืืชึพื’ื–ืจ ื•ืืชึพ1ื‘ื™ืช.ื—ื•ืจื•ืŸ LOC 14ื‘ื™ืช ื—ืจืŸ 1ืชื—ืชื•ืŸืƒ
1_Chronicles 6:53ย ื•ืืชึพื™ืงืžืขื ื•ืืชึพืžื’ืจืฉืื™ื” ื•ืืชึพ1ื‘ื™ืช.ื—ื•ืจื•ืŸ LOC 14ื‘ื™ืช ื—ื•ืจื•ืŸ 1ื•ืืชึพืžื’ืจืฉืื™ื”ืƒ
1_Chronicles 7:24ย ื•ื‘ืชื• ืฉืืืจื” ื•ืชื‘ืŸ ืืชึพ1ื‘ื™ืช.ื—ื•ืจื•ืŸ LOC 14ื‘ื™ืช ื—ื•ืจื•ืŸ 1ื”ืชื—ืชื•ืŸ ื•ืืชึพื”ืขืœื™ื•ืŸ ื•ืืช ืื–ืŸ ืฉืืืจื”ืƒ
2_Chronicles 8:5ย ื•ื™ื‘ืŸ ืืชึพ1ื‘ื™ืช.ื—ื•ืจื•ืŸ LOC 14ื‘ื™ืช ื—ื•ืจื•ืŸ 1ื”ืขืœื™ื•ืŸ ื•ืืชึพ1ื‘ื™ืช.ื—ื•ืจื•ืŸ LOC 14ื‘ื™ืช ื—ื•ืจื•ืŸ 1ื”ืชื—ืชื•ืŸ ืขืจื™ ืžืฆื•ืจ ื—ื•ืžื•ืช ื“ืœืชื™ื ื•ื‘ืจื™ื—ืƒ
2_Chronicles 25:13ย ื•ื‘ื ื™ ื”ื’ื“ื•ื“ ืืฉืืจ ื”ืฉืื™ื‘ ืืžืฆื™ื”ื• ืžืœื›ืช ืขืžื• ืœืžืœื—ืžื” ื•ื™ืคืฉืื˜ื• ื‘ืขืจื™ ื™ื”ื•ื“ื” ืžืฉืืžืจื•ืŸ ื•ืขื“ึพ1ื‘ื™ืช.ื—ื•ืจื•ืŸ LOC 14ื‘ื™ืช ื—ื•ืจื•ืŸ 1ื•ื™ื›ื• ืžื”ื ืฉืืœืฉืืช ืืœืคื™ื ื•ื™ื‘ื–ื• ื‘ื–ื” ืจื‘ื”ืƒ ืก
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "NE.showContent(results)" ] }, { "cell_type": "code", "execution_count": null, "id": "374fb3d4-694b-40ac-a9f9-4de7fdc535f4", "metadata": {}, "outputs": [], "source": [] }, { "cell_type": "code", "execution_count": null, "id": "b9a5407b-c9ee-4e6c-8877-f9255d8c8365", "metadata": {}, "outputs": [], "source": [] } ], "metadata": { "kernelspec": { "display_name": "Python 3 (ipykernel)", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.12.0" } }, "nbformat": 4, "nbformat_minor": 5 }