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

Method analyze

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

Source from the content-addressed store, hash-verified

412class LTTextBoxVertical(LTTextBox):
413
414 def analyze(self, laparams):
415 LTTextBox.analyze(self, laparams)
416 self._objs = csort(self._objs, key=lambda obj: -obj.x1)
417 return
418
419 def get_writing_mode(self):
420 return 'tb-rl'

Callers

nothing calls this directly

Calls 2

csortFunction · 0.90
analyzeMethod · 0.45

Tested by

no test coverage detected