code: 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: list (or concatenation) of characters to filter out, such as
              punctuation. Default: ``!"#$%&()*+,-./:;<=>?@[\\]^_`{|}~\\t\\n``,
              includes basic punctuation, tabs, and newlines.
          lower: boolean. Whether to convert the input to lowercase.
          split: str. Separator for word splitting.
  
      # Returns
          A list of words (or tokens).
      """
      if lower:
          text = text.lower()
  
      translate_dict = {c: split for c in filters}
      translate_map = maketrans(translate_dict)
      text = text.translate(translate_map)
  
      seq = text.split(split)
      return [i for i in seq if i]
  
imports: import json
  import warnings
  from collections import OrderedDict, defaultdict
  from hashlib import md5
  import numpy
label_desc: Use image node_id 1 for calling a global function with example usage: text_to_word_sequence(text, filters, lower, split) and returns: unknown