Class ShrinkCharSequenceNormalizer
java.lang.Object
opennlp.tools.util.normalizer.ShrinkCharSequenceNormalizer
- All Implemented Interfaces:
Serializable, opennlp.tools.util.normalizer.CharSequenceNormalizer
public class ShrinkCharSequenceNormalizer
extends Object
implements opennlp.tools.util.normalizer.CharSequenceNormalizer
A
ShrinkCharSequenceNormalizer implementation that shrinks repeated spaces / chars in text.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ShrinkCharSequenceNormalizernormalize(CharSequence text)
-
Constructor Details
-
ShrinkCharSequenceNormalizer
public ShrinkCharSequenceNormalizer()
-
-
Method Details
-
getInstance
-
normalize
- Specified by:
normalizein interfaceopennlp.tools.util.normalizer.CharSequenceNormalizer
-