(line)
return re.findall(r"[\w']+|[.,!?;]", line)
split given line/phrase into list of words

    Args:
        line: string representing phrase to be split
    
    Return:
        list of strings, with each string representing a word
split given line/phrase into list of words
split given line / phrase into list of words
def split_line(line):
    '''split given line/phrase into list of words

    Args:
        line: string representing phrase to be split
    
    Return:
        list of strings, with each string representing a word
    '''
    return re.findall(r"[\w']+|[.,!?;]", line)
def split_line ( line ) : return re . findall ( r"[\w']+|[.,!?;]" , line )