Text Normalizer

Prev Next

Text Normalizer Node converts textual expressions such as numbers, dates, and special formats into a standardized textual form.

Parameters

name description default
Language Language for the normalization process. en-US

Inputs

Audio

none

Events

name description known nodes that generate this event
Every Event that Contains the Data.Text field Any incoming event that carries Data.Text will be normalized. SR Http
Language Change Updates the active language for normalization. Must provide a valid language code in the event data. Text Language Identifier

Outputs

Audio

none

Events

name description
* Same as the input event, except Data.Text is normalized. Also adds "normalized" to Data.TextAttributes

Remarks

Functionality

  • The node loads language-specific normalization resources at startup and when language changes.
  • Input Data.Text is normalized (numbers, punctuation, special text forms) and added to the outputted event.

Project Structure

A sample project can be built as such:
image.png

Release Notes

v4.4.0
  • Introduced node.