def convert_to_four_letter(script):
    if script in ODD_SCRIPTS:
        script = ODD_SCRIPTS[script]
    elif script in unicode_data._script_long_name_to_code:
        script = unicode_data._script_long_name_to_code[script]
    else:
        for lname in unicode_data._script_long_name_to_code:
            if lname.replace('_', '').lower() == script.lower():
                script = unicode_data._script_long_name_to_code[lname]
    if len(script) != 4:
      raise ValueError("script code '%s' is not the right length." % script)
    return script
Half-height vertical bar, top or bottom.
dataset/ETHPy150Open googlei18n/nototools/nototools/generate_website_data.py/convert_to_four_letter--crossover with--dataset/ETHPy150Open adobe-type-tools/box-drawing/boxDrawing.py/vertHalfBar