diff options
| author | Benjamin J. Culkin <bjculkin@mix.wvu.edu> | 2020-09-10 17:12:59 -0300 |
|---|---|---|
| committer | Benjamin J. Culkin <bjculkin@mix.wvu.edu> | 2020-09-10 17:12:59 -0300 |
| commit | 229054f4839ad99c8c9fc757cce7edc0d2ca3cf1 (patch) | |
| tree | f9de568967b82c46f6d22eda9c843529b6045b5d /src/main/java/bjc/inflexion/nouns/NounInflection.java | |
| parent | cb45132debdbce593a235323e9155b5c47906558 (diff) | |
| parent | e71ef0d03e87df19900db8328cda68d38d523b0b (diff) | |
Merge branch 'master' of https://github.com/bculkin2442/Inflexion
Diffstat (limited to 'src/main/java/bjc/inflexion/nouns/NounInflection.java')
| -rw-r--r-- | src/main/java/bjc/inflexion/nouns/NounInflection.java | 47 |
1 files changed, 20 insertions, 27 deletions
diff --git a/src/main/java/bjc/inflexion/nouns/NounInflection.java b/src/main/java/bjc/inflexion/nouns/NounInflection.java index 978efdb..4341183 100644 --- a/src/main/java/bjc/inflexion/nouns/NounInflection.java +++ b/src/main/java/bjc/inflexion/nouns/NounInflection.java @@ -25,10 +25,9 @@ public interface NounInflection { * Check if a noun matches this inflection. * * @param noun - * The noun to check on this inflection. + * The noun to check on this inflection. * - * @return - * Whether or not the noun belongs to the inflection. + * @return Whether or not the noun belongs to the inflection. */ public boolean matches(String noun); @@ -36,13 +35,12 @@ public interface NounInflection { * Check if a noun for this inflection is singular or not. * * @param noun - * The noun to check for singularity. + * The noun to check for singularity. * - * @return - * Whether or not the noun is singular. + * @return Whether or not the noun is singular. * * @throws InflectionException - * If the noun isn't part of this inflection. + * If the noun isn't part of this inflection. */ public boolean isSingular(String noun); @@ -50,13 +48,12 @@ public interface NounInflection { * Check if a noun for this inflection is plural or not. * * @param noun - * The noun to check for plurality. + * The noun to check for plurality. * - * @return - * Whether or not the noun is plural. + * @return Whether or not the noun is plural. * * @throws InflectionException - * If the noun isn't part of this inflection. + * If the noun isn't part of this inflection. */ public boolean isPlural(String noun); @@ -64,13 +61,12 @@ public interface NounInflection { * Convert a singular noun to a plural noun. * * @param plural - * The plural noun to inflect to a singular form. + * The plural noun to inflect to a singular form. * - * @return - * The singular form of the noun. + * @return The singular form of the noun. * * @throws InflectionException - * If the noun isn't part of the inflection. + * If the noun isn't part of the inflection. */ public String singularize(String plural); @@ -78,13 +74,12 @@ public interface NounInflection { * Convert a singular noun to a plural noun. * * @param singular - * The singular noun to inflect to a plural form. + * The singular noun to inflect to a plural form. * - * @return - * The plural form of the noun. + * @return The plural form of the noun. * * @throws InflectionException - * If the noun isn't part of the inflection. + * If the noun isn't part of the inflection. */ public String pluralize(String singular); @@ -92,13 +87,12 @@ public interface NounInflection { * Convert a singular noun to a modern plural noun. * * @param singular - * The singular noun to inflect to a modern plural form. + * The singular noun to inflect to a modern plural form. * - * @return - * The modern plural form of the noun. + * @return The modern plural form of the noun. * * @throws InflectionException - * If the noun isn't part of the inflection. + * If the noun isn't part of the inflection. */ public String pluralizeModern(String singular); @@ -106,13 +100,12 @@ public interface NounInflection { * Convert a singular noun to a classical plural noun. * * @param singular - * The singular noun to inflect to a classical plural form. + * The singular noun to inflect to a classical plural form. * - * @return - * The classical plural form of the noun. + * @return The classical plural form of the noun. * * @throws InflectionException - * If the noun isn't part of the inflection. + * If the noun isn't part of the inflection. */ public String pluralizeClassical(String singular); } |
