summaryrefslogtreecommitdiff
path: root/src/main/java/bjc/inflexion/nouns/InflectionAffixes.java
diff options
context:
space:
mode:
authorBenjamin J. Culkin <bjculkin@mix.wvu.edu>2020-09-10 17:12:59 -0300
committerBenjamin J. Culkin <bjculkin@mix.wvu.edu>2020-09-10 17:12:59 -0300
commit229054f4839ad99c8c9fc757cce7edc0d2ca3cf1 (patch)
treef9de568967b82c46f6d22eda9c843529b6045b5d /src/main/java/bjc/inflexion/nouns/InflectionAffixes.java
parentcb45132debdbce593a235323e9155b5c47906558 (diff)
parente71ef0d03e87df19900db8328cda68d38d523b0b (diff)
Merge branch 'master' of https://github.com/bculkin2442/Inflexion
Diffstat (limited to 'src/main/java/bjc/inflexion/nouns/InflectionAffixes.java')
-rw-r--r--src/main/java/bjc/inflexion/nouns/InflectionAffixes.java14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/main/java/bjc/inflexion/nouns/InflectionAffixes.java b/src/main/java/bjc/inflexion/nouns/InflectionAffixes.java
index 645e73a..9ee35ee 100644
--- a/src/main/java/bjc/inflexion/nouns/InflectionAffixes.java
+++ b/src/main/java/bjc/inflexion/nouns/InflectionAffixes.java
@@ -25,8 +25,8 @@ public class InflectionAffixes {
/*
* Template for 'complete' affix patterns.
*
- * Match the start of the word, followed by zero or more word
- * characters, followed by the suffix, then the end of the string.
+ * Match the start of the word, followed by zero or more word characters,
+ * followed by the suffix, then the end of the string.
*
* The word is in a capturing group named 'stem'.
*/
@@ -46,10 +46,9 @@ public class InflectionAffixes {
* Create an affix that's a word by itself.
*
* @param suffix
- * The suffix to use.
+ * The suffix to use.
*
- * @return
- * A affix that represents the suffix.
+ * @return A affix that represents the suffix.
*/
public static InflectionAffix complete(final String suffix) {
final Pattern patt = Pattern.compile(String.format(COMPLETE_PATT_FMT, suffix));
@@ -61,10 +60,9 @@ public class InflectionAffixes {
* Create an affix that's not a word by itself.
*
* @param suffix
- * The suffix to use.
+ * The suffix to use.
*
- * @return
- * An affix that represents the suffix.
+ * @return An affix that represents the suffix.
*/
public static InflectionAffix incomplete(final String suffix) {
final Pattern patt = Pattern.compile(String.format(INCOMPLETE_PATT_FMT, suffix));