summaryrefslogtreecommitdiff
path: root/src/main/java/bjc/inflexion/InflectionData.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/bjc/inflexion/InflectionData.java')
-rw-r--r--src/main/java/bjc/inflexion/InflectionData.java86
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