NumberCharSequenceNormalizer (Apache OpenNLP Tools 1.9.5 API)
Date: 2026-06-18

opennlp.tools.util.normalizer

## Class NumberCharSequenceNormalizer

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

- All Implemented Interfaces:
    Serializable, CharSequenceNormalizer

      public class NumberCharSequenceNormalizer
      extends Object
      implements CharSequenceNormalizer

  Normalizer for numbers
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `NumberCharSequenceNormalizer()`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static NumberCharSequenceNormalizer` | `getInstance()`
    `CharSequence` | `normalize(CharSequence text)` normalize a sequence of characters

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

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

- - ### Constructor Detail

    - #### NumberCharSequenceNormalizer

          public NumberCharSequenceNormalizer()

  - ### Method Detail

    - #### getInstance

          public static NumberCharSequenceNormalizer getInstance()

    - #### normalize

          public CharSequence normalize(CharSequence text)

      Description copied from interface: `CharSequenceNormalizer`
      normalize a sequence of characters
      Specified by:
        `normalize` in interface `CharSequenceNormalizer`
      Parameters:
        `text` - the char sequence to normalize
      Returns:
        the normalized char sequence

Copyright © 2026 The Apache Software Foundation. All rights reserved.