diff options
Diffstat (limited to 'src/main/java/bjc/inflexion/nouns/SimpleInflectionAffix.java')
| -rw-r--r-- | src/main/java/bjc/inflexion/nouns/SimpleInflectionAffix.java | 17 |
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 +} |
