История страницы
Detect text language Version 1 (Net)
Action group
...
: Text
...
Описание
...
The action specifies the language of the specified text.
...
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 of parameters
Property | Description | Type | Filling example | Mandatory field |
---|---|---|---|---|
Parameters | ||||
Text | The text to identify its language. | Robin.String | Yes | |
Results | ||||
Result | The 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
- Set the " Detect text language" action on the workspace.
- Correctly fill in the parameters: "Text" - specify the text in one of the available languages -"Привет! Меня зовут Иван!".
- 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
- Set the "Detect text language" action on the workspace.
- Correctly fill in the parameters: "Text" - specify text using several available languages, but with a high predominance of one of them.
- 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
- Set the "Detect text language" action on the workspace.
- Correctly fill in the parameters: "Text" - Input text - " Sawubona!" (language - Zulu).
- 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
- Set the "Detect text language" action on the workspace.
- Correctly fill in the parameters: "Text" - "125? 12-1=11*?;".
- Launch the robot.
Result
Error "There are missing letters in the specified text."