| Experimental API: converts an English word into a plural form.
Parameters: word - a word, such as "child", "apple". Must not be null.It accepts word concatanation formsthat are common in programming languages, such as "my_child", "MyChild","myChild", "MY-CHILD", "CODE003-child", etc, and mostly tries to do the right thing.("my_children","MyChildren","myChildren", and "MY-CHILDREN", "CODE003-children" respectively)Although this method only works for English words, it handles non-Englishwords gracefully (by just returning it as-is.) For example, 日本語will be returned as-is without modified, not "日本語s" This method doesn't handle suffixes very well. For example, passing"person56" will return "person56s", not "people56".always non-null. |