code: def get_all_classes(instruction: str):
      letters = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
      pattern = r"([A-Z]\. |[A-Z]．|[A-Z]\.)"
      options = sorted(list(set(re.findall(pattern, instruction))))
      options = sorted(list(set([string[0] for string in options])))
  
      for i in range(len(options)):
          if options[i] == letters[i]:
              continue
          else:
              return options[0:i]
      return options
  
file_path: colossalai/applications/ColossalEval/colossal_eval/dataset/gaokaobench.py
imports: import json
  import os
  import re
  from copy import deepcopy
  from typing import Dict, List
  from colossalai.logging import DistributedLogger
  from .base import BaseDataset
label_desc: Use image node_id 1 for calling a global function with example usage: get_all_classes(instruction) and returns: options, options