Text Language Identifier
  • 13 Feb 2025
  • 1 Minute to read
  • Contributors
  • PDF

Text Language Identifier

  • PDF

Article summary

Detects the language of provided text.

Parameters:

name
description
default
AddressAddress of Text Language Identification service that will be used.
IgnoreSslErrorsignore any certificate errors if Text Language Identifier address contains httpsfalse

Inputs

Audio:
None.

Events:

namedescriptionknown 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:

namedescription
Language ChangeRaised whenever a language change is detected.

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


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.