Source symbols: mineru/backend/office/office_magic_model.py
Deterministic, value-free symbol metadata extracted from public source. Implementations and literal values are not copied into this page.
- Revision: master@79d6d8d79fb8f3ddba5cc34c07a16f0ec36f56c7 · 2026-07-17T07:32:08Z
- Declarations: 27
- Referenced calls: 48
Declared symbols
MagicModel— class at line 13; referencesclassify_caption_blocks,enumerate,get,parse_text_block_spans__init__— def at line 14; referencesclassify_caption_blocks,enumerate,get,parse_text_block_spansget_list_blocks— def at line 161; referencesstrip,split,find,search,start,endget_index_blocks— def at line 164; referencesstrip,split,find,search,start,endget_image_blocks— def at line 167; referencesstrip,split,find,search,start,endget_table_blocks— def at line 170; referencesstrip,split,find,search,start,endget_chart_blocks— def at line 173; referencesstrip,split,find,search,start,endget_title_blocks— def at line 176; referencesstrip,split,find,search,start,endget_text_blocks— def at line 179; referencesstrip,split,find,search,start,endget_interline_equation_blocks— def at line 182; referencesstrip,split,find,search,start,endget_discarded_blocks— def at line 185; referencesstrip,split,find,search,start,end_parse_style_list— def at line 189; referencesstrip,split,find,search,start,end_parse_hyperlink_text_children— def at line 196; referencesfind,search,start,endparse_text_block_spans— def at line 227; referencescompile,len,find,search,start,appendparse_list_block— def at line 393; referencesget,parse_text_block_spansparse_index_block— def at line 441; referencesget,parse_text_block_spans_sanitize_table_hyperlink_href— def at line 486; referencesunescape,strip,lower,startswith,urlparseclean_table_html— def at line 503clean_tag— def at line 535; referencesgroup,lower,rstrip,endswith,set,finditer,_sanitize_table_hyperlink_href,append,join,sub,startswith,strip,splitlines,len,listisolated_formula_clean— def at line 592; referencesstartswith,endswith,strip,splitlines,len,join,listcode_content_clean— def at line 600; referencessplitlines,len,startswith,strip,join,list__tie_up_category_by_index— def at line 623; referenceslistget_subjects— def at line 626; referenceslistget_objects— def at line 637; referenceslistget_type_blocks— def at line 656; references__tie_up_category_by_indexfix_two_layer_blocks— def at line 668; referencesget_type_blocks,set,sort,range,len,appendclassify_caption_blocks— def at line 737; referenceslen,enumerate,get,append,strip,lower,any,startswith,copy
File-level call references
classify_caption_blocks— line 21enumerate— line 24get— line 27parse_text_block_spans— line 41clean_table_html— line 53parse_list_block— line 71append— line 75parse_index_block— line 79isinstance— line 89ValueError— line 98strip— line 108fix_two_layer_blocks— line 152split— line 193find— line 198search— line 206start— line 207end— line 210_parse_style_list— line 218group— line 218compile— line 249len— line 255min— line 284_parse_hyperlink_text_children— line 348join— line 366unescape— line 488lower— line 492startswith— line 492urlparse— line 495escape— line 500rstrip— line 541endswith— line 541set— line 544finditer— line 552_sanitize_table_hyperlink_href— line 565sub— line 587splitlines— line 605list— line 627tie_up_category_by_index— line 649__tie_up_category_by_index— line 657get_type_blocks— line 669sort— line 682range— line 684extend— line 699reverse— line 702add— line 713pop— line 730any— line 782copy— line 784
Source: mineru/backend/office/office_magic_model.py