Package opennlp.tools.util.normalizer
Class AggregateCharSequenceNormalizer
- java.lang.Object
-
- opennlp.tools.util.normalizer.AggregateCharSequenceNormalizer
-
- All Implemented Interfaces:
Serializable
,CharSequenceNormalizer
public class AggregateCharSequenceNormalizer extends Object implements CharSequenceNormalizer
ACharSequenceNormalizer
implementation that aggregates the functionality of other normalizers.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AggregateCharSequenceNormalizer(CharSequenceNormalizer... normalizers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CharSequence
normalize(CharSequence text)
Normalizes a sequence of characters.
-
-
-
Constructor Detail
-
AggregateCharSequenceNormalizer
public AggregateCharSequenceNormalizer(CharSequenceNormalizer... normalizers)
-
-
Method Detail
-
normalize
public CharSequence normalize(CharSequence text)
Description copied from interface:CharSequenceNormalizer
Normalizes a sequence of characters.- Specified by:
normalize
in interfaceCharSequenceNormalizer
- Parameters:
text
- TheCharSequence
to normalize.- Returns:
- The normalized
CharSequence
.
-
-