def cut2wpos(text, pos=None):
    data = []
    for (w, p) in pseg.cut(text):
        if (p == pos):
            continue
        data.append((w, p))
    return data
def cut2wpos(text, pos=None):
    data = []
    for (w, p) in pseg.cut(text):
        if (p == pos):
            continue
        data.append((w, p))
    return data