code: def remove_number_words(text_string):
      '''
      Removes any integer represented as a word within text_string and returns the new string as
      type str.
  
      Keyword argument:
  
      - text_string: string instance
  
      Exceptions raised:
  
      - InputError: occurs should a non-string argument be passed
      '''
      if text_string is None or text_string == "":
          return ""
      elif isinstance(text_string, str):
          for word in NUMBER_WORDS:
              text_string = re.sub(r'[\S]*\b'+word+r'[\S]*', "", text_string)
          return " ".join(text_string.split())
      else:
          raise InputError("string not passed as argument"f remove_number_words(text_string):
      '''
      Removes any integer represented as a word within text_string and returns the new string as
      type str.
  
      Keyword argument:
  
      - text_string: string instance
  
      Exceptions raised:
  
      - InputError: occurs should a non-string argument be passed
      '''
      if text_string is None or text_string == "":
          return ""
      elif isinstance(text_string, str):
          for word in NUMBER_WORDS:
              text_string = re.sub(r'[\S]*\b'+word+r'[\S]*', "", text_string)
          return " ".join(text_string.split())
      else:
          raise InputError("string not passed as argument")
docs: Removes any integer represented as a word within text_string and returns the new string as
      type str.
  
      Keyword argument:
  
      - text_string: string instance
  
      Exceptions raised:
  
      - InputError: occurs should a non-string argument be passed