code: def StandardAnalyzer(
      expression=default_pattern,
      stoplist=STOP_WORDS,
      minsize=2,
      maxsize=None,
      gaps=False,
  ):
      """Composes a RegexTokenizer with a LowercaseFilter and optional
      StopFilter.
  
      >>> ana = StandardAnalyzer()
      >>> [token.text for token in ana("Testing is testing and testing")]
      ["testing", "testing", "testing"]
  
      :param expression: The regular expression pattern to use to extract tokens.
      :param stoplist: A list of stop words. Set this to None to disable
          the stop word filter.
      :param minsize: Words smaller than this are removed from the stream.
      :param maxsize: Words longer that this are removed from the stream.
      :param gaps: If True, the tokenizer *splits* on the expression, rather
          than matching on the expression.
      """
  
      ret = RegexTokenizer(expression=expression, gaps=gaps)
      chain = ret | LowercaseFilter()
      if stoplist is not None:
          chain = chain | StopFilter(
              stoplist=stoplist, minsize=minsize, maxsize=maxsize
          )
      return chain
  
imports: from whoosh.analysis.acore import Composable, CompositionError
  from whoosh.analysis.tokenizers import Tokenizer
  from whoosh.analysis.filters import LowercaseFilter
  from whoosh.analysis.filters import StopFilter, STOP_WORDS
  from whoosh.analysis.morph import StemFilter
  from whoosh.analysis.intraword import IntraWordFilter
  from whoosh.analysis.tokenizers import default_pattern
  from whoosh.analysis.tokenizers import CommaSeparatedTokenizer
  from whoosh.analysis.tokenizers import IDTokenizer
  from whoosh.analysis.tokenizers import RegexTokenizer
  from whoosh.analysis.tokenizers import SpaceSeparatedTokenizer
  from whoosh.lang.porter import stem
label_desc: Use image node_id 5 for calling a global function with example usage: StandardAnalyzer(expression, stoplist, minsize, maxsize, gaps) and returns: chain