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