parameters: (text,
                            filters='!"#$%&()*+,-./:;<=>?@[\\]^_`{|}~\t\n',
                            lower=True,
                            split=' ')
return_statement: return [i for i in seq if i]
docstring: Converts a text to a sequence of words (or tokens).
  
    Arguments:
        text: Input text (string).
        filters: Sequence of characters to filter out.
        lower: Whether to convert the input to lowercase.
        split: Sentence split marker (string).
  
    Returns:
        A list of words (or tokens).
docstring_summary: Converts a text to a sequence of words (or tokens).
docstring_tokens: Converts a text to a sequence of words ( or tokens ) .
function: def text_to_word_sequence(text,
                            filters='!"#$%&()*+,-./:;<=>?@[\\]^_`{|}~\t\n',
                            lower=True,
                            split=' '):
    """Converts a text to a sequence of words (or tokens).
  
    Arguments:
        text: Input text (string).
        filters: Sequence of characters to filter out.
        lower: Whether to convert the input to lowercase.
        split: Sentence split marker (string).
  
    Returns:
        A list of words (or tokens).
    """
    if lower:
      text = text.lower()
    text = text.translate(maketrans(filters, split * len(filters)))
    seq = text.split(split)
    return [i for i in seq if i]
function_tokens: def text_to_word_sequence ( text , filters = '!"#$%&()*+,-./:;<=>?@[\\]^_`{|}~\t\n' , lower = True , split = ' ' ) : if lower : text = text . lower ( ) text = text . translate ( maketrans ( filters , split * len ( filters ) ) ) seq = text . split ( split ) return [ i for i in seq if i ]