/** * <p> * Converts a noun or pronoun to its plural form. * </p> * <p> * This method is equivalent to calling <code>pluralize(word, 2)</code>. * </p> * <p> * The return value is not defined if this method is passed a plural form. * </p> * @param word a singular noun * @return the plural form of the noun */ public String pluralize(String word) { return pluralize(word, 2); }
/** * <p> * Converts a noun or pronoun to its plural form. * </p> * <p> * This method is equivalent to calling <code>pluralize(word, 2)</code>. * </p> * <p> * The return value is not defined if this method is passed a plural form. * </p> * @param word a singular noun * @return the plural form of the noun */ public String pluralize(String word) { return pluralize(word, 2); }