|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectenglish.EnglishNoun
public class EnglishNoun
An experimental class that provides static methods for testing and computing various properties of strings that are presumed to be English nouns.
| Constructor Summary | |
|---|---|
EnglishNoun()
|
|
| Method Summary | |
|---|---|
static boolean |
isPlural(java.lang.String word)
Tests whether the given (presumed) English noun is plural. |
static boolean |
isSingular(java.lang.String word)
Tests whether the given (presumed) English noun is singular. |
static java.lang.String |
pluralOf(java.lang.String word)
Returns the plural of a given (presumed) English word. |
static java.lang.String |
singularOf(java.lang.String word)
Returns the singular of a given (presumed) English word. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EnglishNoun()
| Method Detail |
|---|
public static boolean isPlural(java.lang.String word)
public static boolean isSingular(java.lang.String word)
public static java.lang.String pluralOf(java.lang.String word)
public static java.lang.String singularOf(java.lang.String word)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||