1 Assemble words into lines and blocks
Within each alignment group, words sharing an OCR line form one line box. Enclosing the line boxes gives the block box.
After sorting lines by their left edge, a horizontal gap greater than 150 px from the running rightmost edge starts a new block. Lines inside each block are then ordered top to bottom.