@Singleton @Named(value="net.sf.mmm.util.text.api.Singularizer") public class EnglishSingularizer extends AbstractTextTransformer implements Singularizer
Singularizer interface for English language. It aims for simplicity rather
than linguistic perfection.| Modifier and Type | Field and Description |
|---|---|
static EnglishSingularizer |
INSTANCE
The singleton instance.
|
private static List<TransformerRule> |
RULES |
CDI_NAME| Modifier | Constructor and Description |
|---|---|
protected |
EnglishSingularizer()
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected List<TransformerRule> |
getRules()
This method gets the list of rules.
|
transformclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittransformpublic static final EnglishSingularizer INSTANCE
private static final List<TransformerRule> RULES
getRules()protected List<TransformerRule> getRules()
return null ), that
result is taken as singular form and no further rule is invoked.getRules in class AbstractTextTransformerCopyright © 2001–2015 mmm-Team. All rights reserved.