<< Click to Display Table of Contents >> Navigation: 3. Script Language > AI - Artificial Intelligence Commands > AIC. - Artificial Intelligence Command > ! Open AI - Whisper > Open AI - Whisper Commands |
MiniRobotLanguage (MRL)
AIC.Set Language for Whisper
Set the language for the Whisper Input system.
Intention
Regularly you do NOT need to set the Input-language as Whisper will recognize it anyway.
In cases where languages are quite similar or where you want to mix languages,
you can use this command to direct Whisper.
The AIC.Set Language for Whisper command is used to set the language for the Whisper Input system.
The command takes a string parameter and matches it to the best-fitting language available for Whisper Input. There is no return value for this command.
As Parameter P1 you can either just use a number, or the text. If you write something else, this command will choose the best fit for your text.
Here is a List of supported languages at current date.
Number |
Language |
0 |
Afrikaans |
1 |
Arabic |
2 |
Armenian |
3 |
Azerbaijani |
4 |
Belarusian |
5 |
Bosnian |
6 |
Bulgarian |
7 |
Catalan |
8 |
Chinese |
9 |
Croatian |
10 |
Czech |
11 |
Danish |
12 |
Dutch |
13 |
English |
14 |
Estonian |
15 |
Finnish |
16 |
French |
17 |
Galician |
18 |
German |
19 |
Greek |
20 |
Hebrew |
21 |
Hindi |
22 |
Hungarian |
23 |
Icelandic |
24 |
Indonesian |
25 |
Italian |
26 |
Japanese |
27 |
Kannada |
28 |
Kazakh |
29 |
Korean |
30 |
Latvian |
31 |
Lithuanian |
32 |
Macedonian |
33 |
Malay |
34 |
Marathi |
35 |
Maori |
36 |
Nepali |
37 |
Norwegian |
38 |
Persian |
39 |
Polish |
40 |
Portuguese |
41 |
Romanian |
42 |
Russian |
43 |
Serbian |
44 |
Slovak |
45 |
Slovenian |
46 |
Spanish |
47 |
Swahili |
48 |
Swedish |
49 |
Tagalog |
50 |
Tamil |
51 |
Thai |
52 |
Turkish |
53 |
Ukrainian |
54 |
Urdu |
55 |
Vietnamese |
56 |
Welsh |
Syntax
AIC.Set Language for Whisper|P1
Parameter Explanation
P1 - (Language, Text) Variable containing the language string or the number to be matched to the best-fitting language available for Whisper Input.
Example
'*************************************
' AIC.Set Language for Whisper
'*************************************
' Language for Whisper Input is set to English
VAR.$$LAN=English
AIC.Set Language for Whisper|$$LAN
' Language for Whisper Input is set to English
VAR.$$LAN=13
AIC.Set Language for Whisper|$$LAN
ENR.
Remarks
-
Limitations:
-
See also:
•