code: def normalize_text(text):
      """
      Performs a normalization that is very similar to that done by the normalization functions in
      SQuAD and TriviaQA.
  
      This involves splitting and rejoining the text, and could be a somewhat expensive operation.
      """
      return " ".join(
          [
              token
              for token in text.lower()
              .strip(STRIPPED_CHARACTERS)
              .split()
              if token not in IGNORED_TOKENS
          ]
      )
  
file_path: magnitude/pymagnitude/third_party/allennlp/data/dataset_readers/reading_comprehension/util.py
imports: from __future__ import absolute_import
  from collections import Counter, defaultdict
  import logging
  import string
  from allennlp.data.fields import Field, TextField, IndexField, MetadataField
  from allennlp.data.instance import Instance
  from allennlp.data.token_indexers import TokenIndexer
  from allennlp.data.tokenizers import Token
label_desc: Use image node_id 1 for calling a global function with example usage: normalize_text(text) and returns: str