<< 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.Translate to English
Translates the given text to a specified target language using ChatGPT.
Intention
The AIC.Translate to English command is designed to translate a given text in P1 into english language.
The translation is performed directly by WHISPER and the result is stored in an optional variable P2 or on the Top of Stack (TOS).
Syntax
AIC.Translate to English|P1[|P2]
AIC.Tte|P1[|P2]
Parameter Explanation
•P1: The mp3-file with the Audio to be transcribed and translated.
•P2: Optional variable to store the translated text. If omitted, the result is placed on the Top of Stack (TOS).
Example
'***********************************
' AIC.-Sample
'***********************************
' Translates the mp3 to English and stores it in $$TRA
AIC.Set Key|file
$$FIL=?exeloc\Hallo.mp3
AIC.Translate to English|$$FIL|$$TRA
ENR.
Remarks
-
Limitations:
-
See also:
•