code: def parseSubscripts(subscr):
      """
      Parse the subscripts for a primitive category
      """
      if subscr:
          return subscr[1:-1].split(",")
      return []
  
imports: import re
  from collections import defaultdict
  from nltk.ccg.api import CCGVar, Direction, FunctionalCategory, PrimitiveCategory
  from nltk.internals import deprecated
  from nltk.sem.logic import Expression
label_desc: Use image node_id 4 for calling a global function with example usage: parseSubscripts(subscr) and returns: list, subscr