Text Language Identifier

Prev Next

Detects the language of provided text.

Parameters:

name
description
default
IgnoreSslErrors ignore any certificate errors if Text Language Identifier address contains https false

Inputs

Audio:
 None.

Events:

name description known nodes that generate this event
Every Event that has Data.Text field. i.e SR Milestone events. Translation events, Custom events etc. SR Http, SR WebSocket, Translate

Outputs

Audio:
  One Channel Segmented Audio

Events:

name description
Language Change Raised whenever a language change is detected.
Language Detected Raised for every analyzed utterance.

Remarks :

  • This node produces events that can trigger changes on other nodes' behavior. eg. SR Http node changes the model accordingly when it receives a language change event.

Project Structure
A simple project utilizing Text Language Identifier can be built like:

image.png

This project accepts events from the client. Text Language Identifier is utilized to detect the incoming language, and change the TTS Http node's language accordingly.

Supported flow types: Stream, Batch

v4.1.0
  • Outputted Language Change event no longer has a Text field..
  • Added Language Detected event that is sent for each analysed utterance.
v4.0.0
  • Removed the address field.
v1.1.0
  • Introduced node.