Action group Text 2.0, release 2.20.0, version 1(net)

Description

The action specifies the language of the specified text.

  1. The action can detect 53 languages (listed in the table below).
  2. The action returns a string with the language that could be defined. The language is written according to the ISO - 639 - 3 standard.
  3. The text does not include special characters, numbers, spaces. 
  4. If the text contains more than one language - the action will output the language whose percentage is higher in the text.
  5. If the text contains the same percentage of several languages, the action will output one of these languages, which it considers the most probable.
  6. There is a possibility that the language of the text is inaccurate. The longer the specified text, the more accurate the result.
  7. If the text contains other languages (not specified in the table), the action will output one of the available languages that it considers most likely.
  8. If the text does not contain letters, but only characters, the action will generate an error - "There are no letters in the specified text".

Standart ISO 639-3:

ISO 639-3

ISO language name

afr

Afrikaans

ara

Arabic

ben

Bengali

bul

Bulgarian

ces

Czech

dan

Danish

deu

German

ell

Greek, Modern (1453–

eng

English

est

Estonian

fas

Persian

fin

Finnish

fra

French

guj

Gujarati

heb

Hebrew

hin

Hindi

hrv

Croatian

hun

Hungarian

ind

Indonesian

ita

Italian

jpn

Japanese

kan

Kannada

kor

Korean

lav

Latvian

lit

Lithuanian

mal

Malayalam

mar

Marathi

mkd

Macedonian

nep

Nepali

nld

Dutch, Flemish

nor

Norwegian

pan

Punjabi, Panjabi

pol

Polish

por

Portuguese

ron

Romanian, Moldavian, Moldovan

rus

Russian

slk

Slovak

slv

Slovenian

som

Somali

spa

Spanish, Castilian

sqi

Albanian

swa

Swahili

swe

Swedish

tam

Tamil

tel

Telugu

tgl

Tagalog

tha

Thai

tur

Turkish

twi

Twi

ukr

Ukrainian

urd

Urdu

vie

Vietnamese

zho

Chinese

 Action icon

Parameters

Input parameters

Text - The text whose language is to be defined.

Output parameters

Result - The language in which the specified text is written. If the text contains words in different languages, the action will specify the language it considers most likely.

Settings

PropertyDescriptionTypeFilling exampleMandatory field
Parameters
TextThe text to identify its language.Robin.String
Yes
Results
ResultThe language of the provided text. If the text includes multiple languages, the action will prioritize the most probable language.Robin.String

Special conditions of use

None. 

Example of use

Task 1

Identify the language of the input text - "Привет! Меня зовут Иван!".

Implementation

  1. Set the " Detect text language" action on the workspace.
  2. Correctly fill in the parameters: "Text" - specify the text in one of the available languages -"Привет! Меня зовут Иван!".
  3. Launch the robot.

Result

Action returned the found language in ISO 639-3.

Task 2

Identify the language of the bilingual text on input - " "Hello! My name is Иван!". 

Implementation

  1. Set the " Detect text language" action on the workspace.
  2. Correctly fill in the parameters: "Text" - specify text using several available languages, but with a high predominance of one of them.
  3. Launch the robot.

Result

The action returns the found language that is more prevalent in the text.

Task 3

Identify the language of the text in the input - " Sawubona!" (the language is Zulu). 

Implementation

  1. Set the "Detect text language" action on the workspace.
  2. Correctly fill in the parameters: "Text" - Input text - " Sawubona!" (language - Zulu). 
  3. Launch the robot.

Result

The robot returned an error. The result is "tgl" or another available language with the same characters.

Task 4

Determine the language of the input text - "125? 12-1=11*?;". Result - Error "There are no letters in the specified text."

Implementation

  1. Set the "Detect text language" action on the workspace.
  2. Correctly fill in the parameters: "Text" - "125? 12-1=11*?;".
  3. Launch the robot.

Result

Error "There are missing letters in the specified text."

  • Нет меток