Class EmojiCharSequenceNormalizer
java.lang.Object
opennlp.tools.util.normalizer.EmojiCharSequenceNormalizer
- All Implemented Interfaces:
Serializable, opennlp.tools.util.normalizer.CharSequenceNormalizer
public class EmojiCharSequenceNormalizer
extends Object
implements opennlp.tools.util.normalizer.CharSequenceNormalizer
A
EmojiCharSequenceNormalizer implementation that normalizes text
in terms of emojis. Every encounter will be replaced by a whitespace.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic EmojiCharSequenceNormalizernormalize(CharSequence text)
-
Constructor Details
-
EmojiCharSequenceNormalizer
public EmojiCharSequenceNormalizer()
-
-
Method Details
-
getInstance
-
normalize
- Specified by:
normalizein interfaceopennlp.tools.util.normalizer.CharSequenceNormalizer
-