summaryrefslogtreecommitdiff
path: root/src/main/java/bjc/inflexion/nouns/SimpleInflectionAffix.java
diff options
context:
space:
mode:
authorBenjamin J. Culkin <bjculkin@mix.wvu.edu>2017-10-11 21:34:29 -0300
committerBenjamin J. Culkin <bjculkin@mix.wvu.edu>2017-10-11 21:34:29 -0300
commit235208946ceb2bf0f422956a3ebc0ebb88ba28b6 (patch)
treee50faa94428972c6c23a605ffb4ec88d28f73cba /src/main/java/bjc/inflexion/nouns/SimpleInflectionAffix.java
parent46cb1f6c030991d314d0ef1fafa53e53ef3e03c9 (diff)
Cleanup
Diffstat (limited to 'src/main/java/bjc/inflexion/nouns/SimpleInflectionAffix.java')
-rw-r--r--src/main/java/bjc/inflexion/nouns/SimpleInflectionAffix.java17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/main/java/bjc/inflexion/nouns/SimpleInflectionAffix.java b/src/main/java/bjc/inflexion/nouns/SimpleInflectionAffix.java
index e50fe5c..87991b5 100644
--- a/src/main/java/bjc/inflexion/nouns/SimpleInflectionAffix.java
+++ b/src/main/java/bjc/inflexion/nouns/SimpleInflectionAffix.java
@@ -22,27 +22,28 @@ import java.util.regex.Pattern;
* Simple implementation of {@link InflectionAffix}
*
* @author EVE
- *
*/
public class SimpleInflectionAffix implements InflectionAffix {
+ /* Format string for toString. */
private static final String TOSTRING_FMT =
"SimpleInflectionAffix [affixTemplate=%s, affixMatcher=%s]";
+ /* Affix template. */
private final String affixTmplate;
-
+ /* Affix matching. */
private final Pattern affixMtcher;
/**
* Create a new inflection affix.
*
* @param affixTemplate
- * The template for applying the affix, Should be a
- * printf-style format string with a single string blank.
+ * The template for applying the affix, Should be a printf-style
+ * format string with a single string blank.
*
* @param affixMatcher
- * The regular expression that matches the affix on
- * strings. The 'stem' or word should be placed in a
- * named capturing group named 'stem'.
+ * The regular expression that matches the affix on strings. The
+ * 'stem' or word should be placed in a named capturing group named
+ * 'stem'.
*/
public SimpleInflectionAffix(final String affixTemplate, final Pattern affixMatcher) {
affixTmplate = affixTemplate;
@@ -103,4 +104,4 @@ public class SimpleInflectionAffix implements InflectionAffix {
return true;
}
-} \ No newline at end of file
+}