code: def intern_strings(x):
      if isinstance(x, (list, tuple)):
          r = []
          for y in x:
              if isinstance(y, str):
                  r.append(sys.intern(y))
              else:
                  r.append(y)
          return r
      return x
  
file_path: decanlp/text/torchtext/data/example.py
imports: import csv
  import sys
  import json
  import six
label_desc: Use image node_id 1 for calling a global function with example usage: intern_strings(x) and returns: x, r