Class AggregateCharSequenceNormalizer
java.lang.Object
opennlp.tools.util.normalizer.AggregateCharSequenceNormalizer
- All Implemented Interfaces:
Serializable, opennlp.tools.util.normalizer.CharSequenceNormalizer
public class AggregateCharSequenceNormalizer
extends Object
implements opennlp.tools.util.normalizer.CharSequenceNormalizer
A
CharSequenceNormalizer implementation that aggregates the
functionality of other normalizers.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAggregateCharSequenceNormalizer(opennlp.tools.util.normalizer.CharSequenceNormalizer... normalizers) Creates an aggregate that applies the given normalizers in order. -
Method Summary
-
Constructor Details
-
AggregateCharSequenceNormalizer
public AggregateCharSequenceNormalizer(opennlp.tools.util.normalizer.CharSequenceNormalizer... normalizers) Creates an aggregate that applies the given normalizers in order.- Parameters:
normalizers- The normalizers to apply, first to last. Must not benulland must not containnull. The array is copied, so later changes to it do not reach this instance.- Throws:
IllegalArgumentException- Thrown ifnormalizersisnullor containsnull.
-
-
Method Details
-
normalize
- Specified by:
normalizein interfaceopennlp.tools.util.normalizer.CharSequenceNormalizer
-