MCPcopy Create free account
hub / github.com/chatdoc-com/OCRFlux / __init__

Method __init__

eval/eval_table_to_html_olmocr.py:15–20  ·  view source on GitHub ↗
(self, tag, colspan=None, rowspan=None, content=None, *children)

Source from the content-addressed store, hash-verified

13
14class TableTree(Tree):
15 def __init__(self, tag, colspan=None, rowspan=None, content=None, *children):
16 self.tag = tag
17 self.colspan = colspan
18 self.rowspan = rowspan
19 self.content = content
20 self.children = list(children)
21
22 def bracket(self):
23 """Show tree using brackets notation"""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected