summaryrefslogtreecommitdiff
path: root/src/main/java/bjc/inflexion/nouns/InflectionAffixes.java
diff options
context:
space:
mode:
authorBen Culkin <scorpress@gmail.com>2020-04-13 18:44:24 -0400
committerBen Culkin <scorpress@gmail.com>2020-04-13 18:44:24 -0400
commit2f6a7807f7180fb467e3d06f2af4263a45759c28 (patch)
treea2c07895dd0f2ab60e864f402e8a38ad0ca0735a /src/main/java/bjc/inflexion/nouns/InflectionAffixes.java
parent5c76def2cdba199ca42ffc440506f6c17624196d (diff)
Cleanup pass
Pass to do some cleanups
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));