def __get_string(self, label_list):
    ret = []
    label_list2 = ([0] + list(label_list))
    for i in range(len(label_list)):
        c1 = label_list2[i]
        c2 = label_list2[(i + 1)]
        if ((c2 == 0) or (c2 == c1)):
            continue
        ret.append(c2)
    s = ''
    for l in ret:
        if ((l > 0) and (l < (len(lstm_ocr_model.CONST_CHAR) + 1))):
            c = lstm_ocr_model.CONST_CHAR[(l - 1)]
        else:
            c = ''
        s += c
    return s
def __get_string(self, label_list):
    ret = []
    label_list2 = ([0] + list(label_list))
    for i in range(len(label_list)):
        c1 = label_list2[i]
        c2 = label_list2[(i + 1)]
        if ((c2 == 0) or (c2 == c1)):
            continue
        ret.append(c2)
    s = 
    for l in ret:
        if ((l > 0) and (l < (len(lstm_ocr_model.CONST_CHAR) + 1))):
            c = lstm_ocr_model.CONST_CHAR[(l - 1)]
        else:
            c = 
        s += c
    return s