code: def IDAnalyzer(lowercase=False):
      """Deprecated, just use an IDTokenizer directly, with a LowercaseFilter if
      desired.
      """
  
      tokenizer = IDTokenizer()
      if lowercase:
          tokenizer = tokenizer | LowercaseFilter()
      return tokenizer
  
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 1 for calling a global function with example usage: IDAnalyzer(lowercase) and returns: tokenizer