return data # # Integrating the px data # # # In[ ]: px = ExtraData(API) px.deliver_annots( 'para', {'title': 'Paragraph numbers', 'date': '2015'}, [ ('px/px_data.{}'.format(source+version), 'px', read_px, ( ('etcbc4', 'px', 'instruction'), ('etcbc4', 'px', 'number_in_ch'), ('etcbc4', 'px', 'pargr'), )), ], ) # ## Checking: loading the new features # In[4]: API=fabric.load(source+version, 'para', 'shebanq', { "xmlids": {"node": False, "edge": False}, "features": (''' oid otype number label
lex.deliver_annots( "lexicon", {"title": "Lexicon lookups, phonetic transcription, ketiv-qere, statistics", "date": "2015"}, [ (ph_base, "ph", get_phono, (("etcbc4", "ph", "phono"), ("etcbc4", "ph", "phono_sep"))), (kq_base, "kq", get_kq, (("etcbc4", "kq", "g_qere_utf8"), ("etcbc4", "kq", "qtrailer_utf8"))), ( "lexicon/lex_data", "lex", get_lex, ( ("etcbc4", "lex", "id"), ("etcbc4", "lex", "lan"), ("etcbc4", "lex", "entryid"), ("etcbc4", "lex", "entry"), ("etcbc4", "lex", "entry_heb"), ("etcbc4", "lex", "g_entry"), ("etcbc4", "lex", "g_entry_heb"), ("etcbc4", "lex", "root"), ("etcbc4", "lex", "pos"), ("etcbc4", "lex", "nametype"), ("etcbc4", "lex", "subpos"), ("etcbc4", "lex", "gloss"), ("etcbc4", "lex", "freq_lex"), ("etcbc4", "lex", "rank_lex"), ("etcbc4", "lex", "freq_occ"), ("etcbc4", "lex", "rank_occ"), ), ), ], )