MCPcopy Create free account
hub / github.com/clips/pattern / analyze

Method analyze

pattern/web/pdf/layout.py:404–407  ·  view source on GitHub ↗
(self, laparams)

Source from the content-addressed store, hash-verified

402class LTTextBoxHorizontal(LTTextBox):
403
404 def analyze(self, laparams):
405 LTTextBox.analyze(self, laparams)
406 self._objs = csort(self._objs, key=lambda obj: -obj.y1)
407 return
408
409 def get_writing_mode(self):
410 return 'lr-tb'

Callers

nothing calls this directly

Calls 2

csortFunction · 0.90
analyzeMethod · 0.45

Tested by

no test coverage detected