code: def _speaker_name_factory():
      name_re = re.compile(
          r".*(\n|^)(?P<name>[A-Z0-9 \.\']+):\w*.+", re.M
      )
  
      def speaker_name(text):
          for _, name in name_re.findall(text):
              if name not in (
                  "ANNOUNCER",
                  "AUDIENCE MEMBER",
                  "AUDIENCE MEMBERS",
              ):
                  return name
  
      return speaker_name
  
imports: import bz2
  import io
  import json
  import pkgutil
  import re
  import sys
  from scattertext.Common import POLITICAL_DATA_URL, ROTTEN_TOMATOES_DATA_URL
  import pandas
label_desc: Use image node_id 1 for calling the ConventionData2012 obj's underlying member method code with example usage: obj._speaker_name_factory() and returns: speaker_name, name