Text Correction

Prev Next

This node corrects any typos that occurred in the incoming events' Text field in the given Language.

Parameters:

name
description
default
IgnoreSslErrors Ignore any certificate errors if normalizer address contains https false
Language Language of the text en-US

Inputs

Audio:
 none

Events:

name description known nodes that generate this event
* all events containing the 'Text' attribute Entry, External Relay, SR Http

Outputs

Audio:
 none

Events:

name description
* Outputs the corrected version of the Text from the inputted event. Adds ", corrected" to Event.Data.TextAttributes
Example

An incoming Chat Message event that has the text "hllo wrlod" would be corrected to the text "hello world".

Usage Notes

Using the Text Correction node is recommended only when external events are present in the project. Using the node with other nodes such as Speech Recognition would be redundant since the text outputted by those nodes already have correct spelling.

Project Structure

A minimal sample project can be built as such:

image.png

Supported flow types: Stream, Batch

Release Notes

v4.0.0
  • Removed the address field.
v3.4.0
  • Introduced node.