def replace_pad(l, new_symbol='-'):
    """<pad> refers to epsilon in CTC replace with another symbol for readability"""
    new_l = []
    for x in l:
        if x == "<pad>":
            new_l.append(new_symbol)
        else:
            new_l.append(x)
    return new_l