code: def as_plural(result_key):
      
      # Not at all guaranteed to work in all cases...
      if result_key.endswith('y'):
          return re.sub("y$", "ies", result_key)
      elif result_key.endswith('address'):
          return result_key + 'es'
      elif result_key.endswith('us'):
          return re.sub("us$", "uses", result_key)
      elif not result_key.endswith('s'):
          return result_key + 's'
      else:
          return result_key
docs: Given a result key, return in the plural form.