Text Correction
  • 13 Feb 2025
  • 1 Minute to read
  • Contributors
  • PDF

Text Correction

  • PDF

Article summary

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

Parameters:

name
description
default
AddressAddress of the Text Correction service.http://core-normalization
IgnoreSslErrorsIgnore any certificate errors if normalizer address contains httpsfalse
LanguageLanguage of the texten-US

Inputs

Audio:
none

Events:

namedescriptionknown nodes that generate this event
*all events containing the 'Text' attributeEntry, External Relay, SR Http

Outputs

Audio:
none

Events:

namedescription
*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


Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.