def fun_clean_categogy2(array, BOW):
    compty = 0
    c = 0
    for elm in array:
        if (not (elm == '')):
            if (not BOW[c].__contains__(elm)):
                BOW[c].append(elm)
                compty += 1
        c += 1
    return BOW
def fun_clean_categogy2(array, BOW):
    compty = 0
    c = 0
    for elm in array:
        if (not (elm == )):
            if (not BOW[c].__contains__(elm)):
                BOW[c].append(elm)
                compty += 1
        c += 1
    return BOW