Lines Matching defs:word
78 * <b>Experimental API:</b> converts an English word into a plural form.
80 * @param word
81 * a word, such as "child", "apple". Must not be null.
82 * It accepts word concatanation forms
97 public static String getPluralForm(String word) {
98 // remember the casing of the word
101 // check if the word looks like an English word.
103 for(int i=0; i<word.length(); i++ ) {
104 char ch = word.charAt(i);
106 return word;
113 String r = e.apply(word);
121 return word;
205 String apply(String word) {
206 Matcher m = pattern.matcher(word);