diff options
| author | bjculkin <bjculkin@mix.wvu.edu> | 2017-04-03 16:22:35 -0400 |
|---|---|---|
| committer | bjculkin <bjculkin@mix.wvu.edu> | 2017-04-03 16:22:35 -0400 |
| commit | 3e20efa5625dd685e4989ff9f28833fd56cd962d (patch) | |
| tree | 2b4d574b8f8e91770f2cb6c9e1bf46896c29cef5 /src/main/java/bjc/inflexion/InflectionData.java | |
| parent | 71dab5c40a46632b11ef111ceb9d8beaa6281c22 (diff) | |
Work on inflection more
Diffstat (limited to 'src/main/java/bjc/inflexion/InflectionData.java')
| -rw-r--r-- | src/main/java/bjc/inflexion/InflectionData.java | 86 |
1 files changed, 86 insertions, 0 deletions
diff --git a/src/main/java/bjc/inflexion/InflectionData.java b/src/main/java/bjc/inflexion/InflectionData.java new file mode 100644 index 0000000..bf5f02c --- /dev/null +++ b/src/main/java/bjc/inflexion/InflectionData.java @@ -0,0 +1,86 @@ +/** + * (C) Copyright 2017 Benjamin Culkin. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package bjc.inflexion; + +/** + * Necessary data for inflection of various things. + * + * @author EVE + * + */ +public class InflectionData { + /** + * Check whether a word is a pronoun or not. + * + * @param word + * The possible pronoun. + * + * @return Whether or not the word is a pronoun. + */ + public static boolean isPronoun(String word) { + /* + * TODO implement me. + */ + return false; + } + + /** + * Get the plural form of the specified pronoun. + * + * @param pronoun + * The pronoun to pluralize. + * + * @return The plural form of the pronoun. + */ + public static String pluralPronoun(String pronoun) { + /* + * TODO implement me. + */ + return null; + } + + /** + * Check if the specified noun has an irregular plural. + * + * @param noun + * The noun to check for irregular plurals. + * + * @return The irregular plural for the noun. + */ + public static boolean nounHasIrregularPlural(String noun) { + /* + * TODO implement me. + */ + return false; + } + + /** + * Get the irregular plural for the specified noun. + * + * @param noun + * The noun to retrieve the irregular plural for. + * + * @return The irregular plural for the noun. + */ + public static String nounIrregularPlural(String noun) { + /* + * TODO implement me. + */ + return null; + } + + +}
\ No newline at end of file |
