code: def _split_vlines_hlines(lines):
      
      vlines, hlines = [], []
      for line in lines:
          (vlines if line.x1 - line.x0 < 0.1 else hlines).append(line)
      return vlines, hlines
docs: Separates lines into horizontal and vertical ones