Package opennlp.tools.util.normalizer
Class EmojiCharSequenceNormalizer
- java.lang.Object
-
- opennlp.tools.util.normalizer.EmojiCharSequenceNormalizer
-
- All Implemented Interfaces:
Serializable
,CharSequenceNormalizer
public class EmojiCharSequenceNormalizer extends Object implements CharSequenceNormalizer
Normalizer for emojis.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EmojiCharSequenceNormalizer()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EmojiCharSequenceNormalizer
getInstance()
CharSequence
normalize(CharSequence text)
normalize a sequence of characters
-
-
-
Method Detail
-
getInstance
public static EmojiCharSequenceNormalizer getInstance()
-
normalize
public CharSequence normalize(CharSequence text)
Description copied from interface:CharSequenceNormalizer
normalize a sequence of characters- Specified by:
normalize
in interfaceCharSequenceNormalizer
- Parameters:
text
- the char sequence to normalize- Returns:
- the normalized char sequence
-
-