code: def pluralize(word, count=None, format=u'{word}'):
      
      if count == 1:
          return word
      elif count is not None:
          return format.format(word=word, count=count)
  
      word = nativestring(word)
      if inflect_engine:
          return format.format(word=inflect_engine.plural(word))
  
      all_upper = EXPR_UPPERCASE.match(word) is not None
  
      # go through the different plural expressions, searching for the
      # proper replacement
      for expr, plural in PLURAL_RULES:
          results = expr.match(word)
          if results:
              result_dict = results.groupdict()
              single = result_dict.get('single', '')
  
              # check if its capitalized
              if all_upper:
                  return format.format(word=single + plural.upper())
              else:
                  return format.format(word=single + plural)
  
      # by default, just include 's' at the end
      if all_upper:
          return format.format(word=word + 'S')
      return format.format(word=word + 's')
docs: Converts the inputted word to the plural form of it.  This method works
      best if you use the inflect module, as it will just pass along the
      request to inflect.plural  If you do not have that module, then a simpler
      and less impressive pluralization technique will be used.
      
      :sa         https://pypi.python.org/pypi/inflect
      
      :param      word | <str>
      
      :return     <str>