EmojiCharSequenceNormalizer (Apache OpenNLP Tools 2.5.9 API)
Description: declaration: package: opennlp.tools.util.normalizer, class: EmojiCharSequenceNormalizer

# Class EmojiCharSequenceNormalizer

java.lang.Object
opennlp.tools.util.normalizer.EmojiCharSequenceNormalizer

All Implemented Interfaces:
  `Serializable, CharSequenceNormalizer`

public class EmojiCharSequenceNormalizer extends Object implements CharSequenceNormalizer
A `EmojiCharSequenceNormalizer` implementation that normalizes text in terms of emojis. Every encounter will be replaced by a whitespace.

See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `EmojiCharSequenceNormalizer()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static EmojiCharSequenceNormalizer`
  `getInstance()`
  `CharSequence`
  `normalize(CharSequence text)`
  Normalizes a sequence of characters.

  ### Methods inherited from class Object

  `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### EmojiCharSequenceNormalizer

    public EmojiCharSequenceNormalizer()

- ## Method Details

  - ### getInstance

    public static EmojiCharSequenceNormalizer getInstance()

  - ### normalize

    public CharSequence normalize(CharSequence text)
    Description copied from interface: `CharSequenceNormalizer`
    Normalizes a sequence of characters.
    Specified by:
      `normalize` in interface `CharSequenceNormalizer`
    Parameters:
      `text` - The `CharSequence` to normalize.
    Returns:
      The normalized `CharSequence`.