Package opennlp.tools.util.normalizer
Interface CharSequenceNormalizer
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
AggregateCharSequenceNormalizer
,EmojiCharSequenceNormalizer
,NumberCharSequenceNormalizer
,ShrinkCharSequenceNormalizer
,TwitterCharSequenceNormalizer
,UrlCharSequenceNormalizer
public interface CharSequenceNormalizer extends Serializable
A char sequence normalizer, used to adjusting (prune, substitute, add, etc.) characters in order to remove noise from text- See Also:
- Text normalization
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CharSequence
normalize(CharSequence text)
Normalizes a sequence of characters.
-
-
-
Method Detail
-
normalize
CharSequence normalize(CharSequence text)
Normalizes a sequence of characters.- Parameters:
text
- TheCharSequence
to normalize.- Returns:
- The normalized
CharSequence
.
-
-