- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
This node corrects any typos that occurred in the incoming events' Text
field in the given Language
.
Parameters:
name | description | default |
---|---|---|
Address | Address of the Text Correction service. | http://core-normalization |
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:
Supported flow types: Stream, Batch
Was this article helpful?