File size: 263 Bytes
fcaa164
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
def map_tesseract_script(script: str) -> str:
    r""" """
    if script == "Katakana" or script == "Hiragana":
        script = "Japanese"
    elif script == "Han":
        script = "HanS"
    elif script == "Korean":
        script = "Hangul"
    return script