Beispiel #1
0
def tok_fun(ss):
    if ss == 'nan':
        ss = ''
    return (re.sub('[^a-z\\s\\|]', '', ss.lower()).split('|'))