Package opennlp.tools.util.normalizer

# Class UrlCharSequenceNormalizer

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

All Implemented Interfaces:
  `Serializable`, `opennlp.tools.util.normalizer.CharSequenceNormalizer`

public class UrlCharSequenceNormalizer extends Object implements opennlp.tools.util.normalizer.CharSequenceNormalizer
A `UrlCharSequenceNormalizer` implementation that normalizes text in terms of URls and email addresses. Every encounter will be replaced by a whitespace.

See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `UrlCharSequenceNormalizer()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static UrlCharSequenceNormalizer`
  `getInstance()`
  `CharSequence`
  `normalize(CharSequence text)`

  ### Methods inherited from class java.lang.Object

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

- ## Constructor Details

  - ### UrlCharSequenceNormalizer

    public UrlCharSequenceNormalizer()

- ## Method Details

  - ### getInstance

    public static UrlCharSequenceNormalizer getInstance()

  - ### normalize

    public CharSequence normalize(CharSequence text)
    Specified by:
      `normalize` in interface `opennlp.tools.util.normalizer.CharSequenceNormalizer`