code: public static String pluralize(String word) {
          if (word == null) {
              throw new IllegalArgumentException();
          }
  
          final String lowerCaseWord = word.toLowerCase();
          if (endsWithAny(lowerCaseWord, "s", "sh", "o")) {
              return word + "es";
          }
          if (lowerCaseWord.endsWith("y") &&
                  !lowerCaseWord.endsWith("ay") || endsWithAny(lowerCaseWord, "ey", "oy", "uy")) {
              return word.substring(0, word.length() - 1) + "ies";
          } else {
              return word + "s";
          }
      }
docs: Get the plural for the given English word.
  
  @param word The given English word. It can not be {@code null};
  @return The plural word.
  @see <a href='http://en.wikipedia.org/wiki/English_plurals'>Building English plurals.</a>