NumberCharSequenceNormalizer (Apache OpenNLP :: Core :: Runtime 3.0.0-M4 API)
Description: declaration: package: opennlp.tools.util.normalizer, class: NumberCharSequenceNormalizer

Package opennlp.tools.util.normalizer

# Class NumberCharSequenceNormalizer

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

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

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

See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `NumberCharSequenceNormalizer()`

- ## Method Summary

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

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

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

- ## Constructor Details

  - ### NumberCharSequenceNormalizer

    public NumberCharSequenceNormalizer()

- ## Method Details

  - ### getInstance

    public static NumberCharSequenceNormalizer getInstance()

  - ### normalize

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